0029520: Visualization - drop deprecated V3d_View::Export() functionality and depende...
[occt.git] / adm / templates / custom.build.sh.in
CommitLineData
316d77d9 1#!/bin/bash
2
4b3541c6 3if [ "$1" == "@BIN_LETTER@" ]; then
4 if [ "$2" == "@COMPILER_BITNESS@" ]; then
7a59f4ce 5 # set environment variables used by OCCT
6 export CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@
7
316d77d9 8 export TCL_DIR="@3RDPARTY_TCL_LIBRARY_DIR@"
82f443b6 9 export TK_DIR="@3RDPARTY_TK_LIBRARY_DIR@"
316d77d9 10 export FREETYPE_DIR="@3RDPARTY_FREETYPE_LIBRARY_DIR@"
d51a0ff6 11 export FREEIMAGE_DIR="@3RDPARTY_FREEIMAGE_LIBRARY_DIRS@"
316d77d9 12 export TBB_DIR="@3RDPARTY_TBB_LIBRARY_DIR@"
13 export VTK_DIR="@3RDPARTY_VTK_LIBRARY_DIR@"
08f8a185 14 export FFMPEG_DIR="@3RDPARTY_FFMPEG_LIBRARY_DIR@"
4b3541c6 15
14bbbdcb 16 if [ "x@3RDPARTY_QT_DIR" != "x" ]; then
17 export QTDIR="@3RDPARTY_QT_DIR@"
18 fi
19
4b3541c6 20 export TCL_VERSION_WITH_DOT="@3RDPARTY_TCL_LIBRARY_VERSION_WITH_DOT@"
21 export TK_VERSION_WITH_DOT="@3RDPARTY_TK_LIBRARY_VERSION_WITH_DOT@"
22
23 export CSF_OCCTBinPath="@CMAKE_RUNTIME_OUTPUT_DIRECTORY@"
24 export CSF_OCCTLibPath="@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@"
25 export CSF_OCCTIncludePath="@CMAKE_BINARY_DIR@/inc"
26 export CSF_OCCTResourcePath="@CMAKE_SOURCE_DIR@/src"
27 export CSF_OCCTDataPath="@CMAKE_SOURCE_DIR@/data"
28 export CSF_OCCTSamplesPath="@CMAKE_SOURCE_DIR@/samples"
29 export CSF_OCCTTestsPath="@CMAKE_SOURCE_DIR@/tests"
30 export CSF_OCCTDocPath="@CMAKE_SOURCE_DIR@/doc"
31
32 # for compatability with external application using CASROOT
33 export CASROOT="@CMAKE_SOURCE_DIR@"
316d77d9 34 fi
35fi
36