0028312: Configuration, genproj.tcl - support CSF_ZLIB and CSF_LIBLZMA within project...
[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
316d77d9 5 export TCL_DIR="@3RDPARTY_TCL_LIBRARY_DIR@"
82f443b6 6 export TK_DIR="@3RDPARTY_TK_LIBRARY_DIR@"
316d77d9 7 export FREETYPE_DIR="@3RDPARTY_FREETYPE_LIBRARY_DIR@"
8 export FREEIMAGE_DIR="@3RDPARTY_FREEIMAGE_LIBRARY_DIR@"
9 export GL2PS_DIR="@3RDPARTY_GL2PS_LIBRARY_DIR@"
10 export TBB_DIR="@3RDPARTY_TBB_LIBRARY_DIR@"
11 export VTK_DIR="@3RDPARTY_VTK_LIBRARY_DIR@"
4b3541c6 12
13 export TCL_VERSION_WITH_DOT="@3RDPARTY_TCL_LIBRARY_VERSION_WITH_DOT@"
14 export TK_VERSION_WITH_DOT="@3RDPARTY_TK_LIBRARY_VERSION_WITH_DOT@"
15
16 export CSF_OCCTBinPath="@CMAKE_RUNTIME_OUTPUT_DIRECTORY@"
17 export CSF_OCCTLibPath="@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@"
18 export CSF_OCCTIncludePath="@CMAKE_BINARY_DIR@/inc"
19 export CSF_OCCTResourcePath="@CMAKE_SOURCE_DIR@/src"
20 export CSF_OCCTDataPath="@CMAKE_SOURCE_DIR@/data"
21 export CSF_OCCTSamplesPath="@CMAKE_SOURCE_DIR@/samples"
22 export CSF_OCCTTestsPath="@CMAKE_SOURCE_DIR@/tests"
23 export CSF_OCCTDocPath="@CMAKE_SOURCE_DIR@/doc"
24
25 # for compatability with external application using CASROOT
26 export CASROOT="@CMAKE_SOURCE_DIR@"
316d77d9 27 fi
28fi
29