0025382: Visualization, TKOpenGl - improved video recording capability
[occt.git] / adm / templates / custom.install.bat.in
1 echo off
2
3 rem CASDEB comes as third argument
4
5 if /I "%VCVER%" == "@COMPILER@" (
6   if "%ARCH%" == "@COMPILER_BITNESS@" (
7     rem set environment variables used by OCCT
8     set CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@
9
10     set "TCL_DIR=@USED_3RDPARTY_TCL_DIR@"
11     set "TK_DIR=@USED_3RDPARTY_TK_DIR@"
12     set "FREETYPE_DIR=@USED_3RDPARTY_FREETYPE_DIR@"
13     set "FREEIMAGE_DIR=@USED_3RDPARTY_FREEIMAGE_DIRS@"
14     set "EGL_DIR=@USED_3RDPARTY_EGL_DIRS@"
15     set "GLES2_DIR=@USED_3RDPARTY_GLES2_DIRS@"
16     set "GL2PS_DIR=@USED_3RDPARTY_GL2PS_DIRS@"
17     set "TBB_DIR=@USED_3RDPARTY_TBB_DIR@"
18     set "VTK_DIR=@USED_3RDPARTY_VTK_DIR@"
19     set "FFMPEG_DIR=@USED_3RDPARTY_FFMPEG_DIR@"
20
21     if not "@USED_3RDPARTY_QT_DIR@" == "" (
22       set "QTDIR=@USED_3RDPARTY_QT_DIR@"
23     )
24     set "TCL_VERSION_WITH_DOT=@3RDPARTY_TCL_LIBRARY_VERSION_WITH_DOT@"
25     set "TK_VERSION_WITH_DOT=@3RDPARTY_TK_LIBRARY_VERSION_WITH_DOT@"
26
27     set "CSF_OCCTBinPath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_BIN@%3"
28     set "CSF_OCCTLibPath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_LIB@%3"
29
30     set "CSF_OCCTIncludePath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_INCLUDE@"
31     set "CSF_OCCTResourcePath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_RESOURCE@"
32     set "CSF_OCCTDataPath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_DATA@"
33     set "CSF_OCCTSamplesPath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_SAMPLES@"
34     set "CSF_OCCTTestsPath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_TESTS@"
35     set "CSF_OCCTDocPath=@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_DOC@"
36
37     rem for compatability with external application using CASROOT
38     set "CASROOT=@INSTALL_DIR_ABSOLUTE@"
39   )
40 )
41