5 # SHAPER_PDIR - path of PRODUCTS for SHAPER (SolveSpace, lcov)
6 # SHAPER_ROOT_DIR - path of SHAPER installation
8 for path in SHAPER_PDIR SHAPER_ROOT_DIR; do
9 if [[ -z ${!path+x} ]]; then
10 echo "${path} not found."; exit 1
12 echo "Found ${path}: ${!path}"
16 #------ SolveSpace ------
17 export SOLVESPACE_ROOT_DIR=${SHAPER_PDIR}/solvespace-2.1
18 export LD_LIBRARY_PATH=${SOLVESPACE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
21 #------ PlaneGCS ------
22 export PLANEGCS_ROOT_DIR=${SHAPER_PDIR}/planegcs-0.16
23 export LD_LIBRARY_PATH=${PLANEGCS_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
27 export EIGEN_ROOT_DIR=${SHAPER_PDIR}/eigen-3.2.7
31 export BOOST_ROOT_DIR=${SHAPER_PDIR}/boost-1.52.0
35 export LCOV_ROOT_DIR=${SHAPER_PDIR}/lcov-1.11
36 export PATH=${LCOV_ROOT_DIR}/bin:${PATH}
41 export CSF_PluginDefaults=${CAS_ROOT_DIR}/src/StdResource
42 export CSF_StandardDefaults=${CAS_ROOT_DIR}/src/StdResource
44 export LIB=${LD_LIBRARY_PATH}
45 export PATH=${CASROOT}:${PATH}
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}