Salome HOME
Fix compilation problem on Linux
[modules/shaper.git] / env.sh
1 #!/bin/bash -x
2
3 # Path to sources
4 export SOURCES_DIR=$(pwd)
5 # Path to build directory
6 export BUILD_DIR=$(cd ${SOURCES_DIR}/.. && pwd)/build
7 # Path to linux_run.sh & salome_run.sh
8 export AUT_DIR=$(pwd)
9
10 # Path to env_*.sh files
11 export TOOLS_DIR=$(pwd)
12
13 export HOME_OLD=$HOME
14 # to use patched OCCT 7.1.0 for SHAPER
15 #export CUSTOM_CAS_ROOT=1
16 #export ENV_FOR_LAUNCH=1
17
18 source /dn64/series8x/work/init.sh 2017-03-22
19 export HOME=$HOME_OLD
20
21 # Path to solvespace-2
22 export SHAPER_PDIR=/dn48/newgeom/common/products
23 # Path to install directory
24 export SHAPER_ROOT_DIR=$(cd ${SOURCES_DIR}/.. && pwd)/install
25
26 source ${TOOLS_DIR}/env_linux.sh
27 source ${TOOLS_DIR}/env_salome.sh