0029520: Visualization - drop deprecated V3d_View::Export() functionality and depende...
[occt.git] / adm / templates / custom.build.bat.in
1 echo off
2
3 if /I "%VCVER%" == "@COMPILER@" (
4   if "%ARCH%" == "@COMPILER_BITNESS@" (
5     rem set environment variables used by OCCT
6     set CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@
7
8     set "TCL_DIR=@3RDPARTY_TCL_DLL_DIR@"
9     set "TK_DIR=@3RDPARTY_TK_DLL_DIR@"
10     set "FREETYPE_DIR=@3RDPARTY_FREETYPE_DLL_DIR@"
11     set "FREEIMAGE_DIR=@3RDPARTY_FREEIMAGE_DLL_DIRS@"
12     set "EGL_DIR=@3RDPARTY_EGL_DLL_DIRS@"
13     set "GLES2_DIR=@3RDPARTY_GLES2_DLL_DIRS@"
14     set "TBB_DIR=@3RDPARTY_TBB_DLL_DIR@"
15     set "VTK_DIR=@3RDPARTY_VTK_DLL_DIR@"
16     set "FFMPEG_DIR=@3RDPARTY_FFMPEG_DLL_DIR@"
17
18     if not "@3RDPARTY_QT_DIR@" == "" (
19       set "QTDIR=@3RDPARTY_QT_DIR@"
20     )
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@"
44   ) 
45 )