0029520: Visualization - drop deprecated V3d_View::Export() functionality and depende...
[occt.git] / adm / templates / custom.build.bat.in
CommitLineData
316d77d9 1echo off
2
4b3541c6 3if /I "%VCVER%" == "@COMPILER@" (
316d77d9 4 if "%ARCH%" == "@COMPILER_BITNESS@" (
7a59f4ce 5 rem set environment variables used by OCCT
6 set CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@
7
316d77d9 8 set "TCL_DIR=@3RDPARTY_TCL_DLL_DIR@"
82f443b6 9 set "TK_DIR=@3RDPARTY_TK_DLL_DIR@"
316d77d9 10 set "FREETYPE_DIR=@3RDPARTY_FREETYPE_DLL_DIR@"
d51a0ff6 11 set "FREEIMAGE_DIR=@3RDPARTY_FREEIMAGE_DLL_DIRS@"
12 set "EGL_DIR=@3RDPARTY_EGL_DLL_DIRS@"
13 set "GLES2_DIR=@3RDPARTY_GLES2_DLL_DIRS@"
316d77d9 14 set "TBB_DIR=@3RDPARTY_TBB_DLL_DIR@"
15 set "VTK_DIR=@3RDPARTY_VTK_DLL_DIR@"
08f8a185 16 set "FFMPEG_DIR=@3RDPARTY_FFMPEG_DLL_DIR@"
4b3541c6 17
14bbbdcb 18 if not "@3RDPARTY_QT_DIR@" == "" (
19 set "QTDIR=@3RDPARTY_QT_DIR@"
20 )
4b3541c6 21 set "TCL_VERSION_WITH_DOT=@3RDPARTY_TCL_LIBRARY_VERSION_WITH_DOT@"
22 set "TK_VERSION_WITH_DOT=@3RDPARTY_TK_LIBRARY_VERSION_WITH_DOT@"
23
24 rem CSF_OCCTBinPath and CSF_OCCTLibPath are defined differently for
25 rem multiple and single configuration builds
26 set "CSF_OCCTBinPath=@CMAKE_RUNTIME_OUTPUT_DIRECTORY@"
27 if ["@CMAKE_RUNTIME_OUTPUT_DIRECTORY@"] == [""] (
28 set "CSF_OCCTBinPath=@CMAKE_BINARY_DIR@/win%ARCH%/%VCVER%/bin%3"
29 )
30 set "CSF_OCCTLibPath=@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@"
31 if ["@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@"] == [""] (
32 set "CSF_OCCTLibPath=@CMAKE_BINARY_DIR@/win%ARCH%/%VCVER%/lib%3"
33 )
34
35 set "CSF_OCCTIncludePath=@CMAKE_BINARY_DIR@/inc"
36 set "CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/src"
37 set "CSF_OCCTDataPath=@CMAKE_SOURCE_DIR@/data"
38 set "CSF_OCCTSamplesPath=@CMAKE_SOURCE_DIR@/samples"
39 set "CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests"
40 set "CSF_OCCTDocPath=@CMAKE_SOURCE_DIR@/doc"
41
42 rem for compatability with external application using CASROOT
43 set "CASROOT=@CMAKE_SOURCE_DIR@"
316d77d9 44 )
45)