]> SALOME platform Git repositories - modules/shaper.git/blob - env_linux.sh
Salome HOME
8148a14623f91950419ba7f343308a66afabe0a7
[modules/shaper.git] / env_linux.sh
1 #!/bin/bash
2
3 # This script uses:
4 #
5 # SHAPER_PDIR - path of PRODUCTS for SHAPER (SolveSpace, lcov)
6 # SHAPER_ROOT_DIR - path of SHAPER installation
7
8 for path in SHAPER_PDIR SHAPER_ROOT_DIR; do
9   if [[ -z ${!path+x} ]]; then
10     echo "${path} not found."; exit 1
11   else
12     echo "Found ${path}: ${!path}"
13   fi
14 done
15
16 #------ SolveSpace ------
17 export SOLVESPACE_ROOT_DIR=${SHAPER_PDIR}/solvespace-2.1
18 export LD_LIBRARY_PATH=${SOLVESPACE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
19 ##
20
21 #------ PlaneGCS ------
22 export PLANEGCS_ROOT_DIR=${SHAPER_PDIR}/planegcs-0.16
23 export LD_LIBRARY_PATH=${PLANEGCS_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
24 ##
25
26 #------ Eigen ------
27 export EIGEN_ROOT_DIR=${SHAPER_PDIR}/eigen-3.2.7
28 ##
29
30 #------ Boost ------
31 export BOOST_ROOT_DIR=${SHAPER_PDIR}/boost-1.52.0
32 ##
33
34 #------ lcov ------
35 export LCOV_ROOT_DIR=${SHAPER_PDIR}/lcov-1.11
36 export PATH=${LCOV_ROOT_DIR}/bin:${PATH}
37 ##
38
39 #------ OCCT ------
40 # Defaults
41 export CSF_PluginDefaults=${CAS_ROOT_DIR}/src/StdResource
42 export CSF_StandardDefaults=${CAS_ROOT_DIR}/src/StdResource
43 # For CMake
44 export LIB=${LD_LIBRARY_PATH}
45 export PATH=${CASROOT}:${PATH}
46 ##
47
48 #------ SHAPER ------
49 export PATH=${SHAPER_ROOT_DIR}/bin/salome:${PATH}
50 export PYTHONPATH=${SHAPER_ROOT_DIR}/bin/salome:${PYTHONPATH}
51 export LD_LIBRARY_PATH=${SHAPER_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}