5 # INST_ROOT - path of SALOME (env_products.sh)
6 # SHAPER_PDIR - path of PRODUCTS for SHAPER (SolveSpace, lcov)
7 # SHAPER_ROOT_DIR - path of SHAPER installation
9 for path in INST_ROOT SHAPER_PDIR SHAPER_ROOT_DIR; do
10 if [[ -z ${!path+x} ]]; then
11 echo "${path} not found."; exit 1
13 echo "Found ${path}: ${!path}"
18 echo "Source ${INST_ROOT}/$(cd ${INST_ROOT} && ls *env_products.sh)"
19 source ${INST_ROOT}/$(cd ${INST_ROOT} && ls *env_products.sh)
22 #------ SolveSpace ------
23 export SOLVESPACE_ROOT_DIR=${SHAPER_PDIR}/solvespace-2.1
24 export LD_LIBRARY_PATH=${SOLVESPACE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
27 #------ PlaneGCS ------
28 export PLANEGCS_ROOT_DIR=${SHAPER_PDIR}/planegcs-0.16
29 export LD_LIBRARY_PATH=${PLANEGCS_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
33 export EIGEN_ROOT_DIR=${SHAPER_PDIR}/eigen-3.2.7
37 export BOOST_ROOT_DIR=${SHAPER_PDIR}/boost-1.52.0
41 export LCOV_ROOT_DIR=${SHAPER_PDIR}/lcov-1.11
42 export PATH=${LCOV_ROOT_DIR}/bin:${PATH}
47 export CSF_PluginDefaults=${CAS_ROOT_DIR}/src/StdResource
48 export CSF_StandardDefaults=${CAS_ROOT_DIR}/src/StdResource
50 export LIB=${LD_LIBRARY_PATH}
51 export PATH=${CASROOT}:${PATH}
55 export PATH=${SHAPER_ROOT_DIR}/bin/salome:${PATH}
56 export PYTHONPATH=${SHAPER_ROOT_DIR}/bin/salome:${PYTHONPATH}
57 export LD_LIBRARY_PATH=${SHAPER_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}