]> SALOME platform Git repositories - modules/shaper.git/blob - linux_env.sh
Salome HOME
Adding Naming DS for Placement operation.
[modules/shaper.git] / linux_env.sh
1 #!/bin/sh
2
3 if [ "${INST_ROOT}" = "" ] ; then
4     source /dn48/newgeom/common/SALOME/env_products.sh
5 else
6     source ${INST_ROOT}/env_products.sh
7 fi
8
9 if [ "${NEWGEOM_PDIR}" = "" ] ; then
10     export NEWGEOM_PDIR=/dn48/newgeom/common/products
11 fi
12
13 if [ "${ROOT_DIR}" = "" ] ; then
14   export ROOT_DIR=$(pwd)/..
15   export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
16 fi
17
18 #------ SolveSpace ------
19 export SOLVESPACE_ROOT_DIR=${NEWGEOM_PDIR}/solvespace-2.0
20 export LD_LIBRARY_PATH=${SOLVESPACE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
21 ##
22
23 #------ lcov ------
24 export LCOV_ROOT_DIR=${NEWGEOM_PDIR}/lcov-1.11
25 export PATH=${LCOV_ROOT_DIR}/bin:${PATH}
26 ##
27
28 #------ OCCT ------
29 # Defaults
30 export CSF_PluginDefaults=${CAS_ROOT_DIR}/src/StdResource
31 export CSF_StandardDefaults=${CAS_ROOT_DIR}/src/StdResource
32 # For CMake
33 export LIB=${LD_LIBRARY_PATH}
34 export PATH=${CASROOT}:${PATH}
35 ##
36
37 #------ NewGEOM ------
38 export NEWGEOM_ROOT_DIR=${ROOT_DIR}/install
39 export PATH=${NEWGEOM_ROOT_DIR}/bin:${NEWGEOM_ROOT_DIR}/plugins:${PATH}
40 export PYTHONPATH=${NEWGEOM_ROOT_DIR}/swig:${PYTHONPATH}
41 export LD_LIBRARY_PATH=${NEWGEOM_ROOT_DIR}/bin:${NEWGEOM_ROOT_DIR}/swig:${NEWGEOM_ROOT_DIR}/plugins:${LD_LIBRARY_PATH}
42 export NEW_GEOM_CONFIG_FILE=${NEWGEOM_ROOT_DIR}/plugins
43 export NewGeomResources=${NEWGEOM_ROOT_DIR}/resources