0028312: Configuration, genproj.tcl - support CSF_ZLIB and CSF_LIBLZMA within project...
[occt.git] / adm / templates / custom.build.bat.in
CommitLineData
316d77d9 1echo off
2
4b3541c6 3if /I "%VCVER%" == "@COMPILER@" (
316d77d9 4 if "%ARCH%" == "@COMPILER_BITNESS@" (
5 set "TCL_DIR=@3RDPARTY_TCL_DLL_DIR@"
82f443b6 6 set "TK_DIR=@3RDPARTY_TK_DLL_DIR@"
316d77d9 7 set "FREETYPE_DIR=@3RDPARTY_FREETYPE_DLL_DIR@"
8 set "FREEIMAGE_DIR=@3RDPARTY_FREEIMAGE_DLL_DIR@"
1ce0716b 9 set "EGL_DIR=@3RDPARTY_EGL_DLL_DIR@"
10 set "GLES2_DIR=@3RDPARTY_GLES2_DLL_DIR@"
316d77d9 11 set "GL2PS_DIR=@3RDPARTY_GL2PS_DLL_DIR@"
12 set "TBB_DIR=@3RDPARTY_TBB_DLL_DIR@"
13 set "VTK_DIR=@3RDPARTY_VTK_DLL_DIR@"
4b3541c6 14
15 set "TCL_VERSION_WITH_DOT=@3RDPARTY_TCL_LIBRARY_VERSION_WITH_DOT@"
16 set "TK_VERSION_WITH_DOT=@3RDPARTY_TK_LIBRARY_VERSION_WITH_DOT@"
17
18 rem CSF_OCCTBinPath and CSF_OCCTLibPath are defined differently for
19 rem multiple and single configuration builds
20 set "CSF_OCCTBinPath=@CMAKE_RUNTIME_OUTPUT_DIRECTORY@"
21 if ["@CMAKE_RUNTIME_OUTPUT_DIRECTORY@"] == [""] (
22 set "CSF_OCCTBinPath=@CMAKE_BINARY_DIR@/win%ARCH%/%VCVER%/bin%3"
23 )
24 set "CSF_OCCTLibPath=@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@"
25 if ["@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@"] == [""] (
26 set "CSF_OCCTLibPath=@CMAKE_BINARY_DIR@/win%ARCH%/%VCVER%/lib%3"
27 )
28
29 set "CSF_OCCTIncludePath=@CMAKE_BINARY_DIR@/inc"
30 set "CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/src"
31 set "CSF_OCCTDataPath=@CMAKE_SOURCE_DIR@/data"
32 set "CSF_OCCTSamplesPath=@CMAKE_SOURCE_DIR@/samples"
33 set "CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests"
34 set "CSF_OCCTDocPath=@CMAKE_SOURCE_DIR@/doc"
35
36 rem for compatability with external application using CASROOT
37 set "CASROOT=@CMAKE_SOURCE_DIR@"
316d77d9 38 )
39)