]> SALOME platform Git repositories - modules/shaper.git/blob - env_linux.sh
Salome HOME
Issue #2825: Set the same deflection value from preferences on highlighting as on...
[modules/shaper.git] / env_linux.sh
1 #!/bin/bash
2
3 # This script uses:
4 #
5 # SHAPER_PDIR - path of PRODUCTS for SHAPER (lcov, cpplint)
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 #------ lcov ------
17 export LCOV_ROOT_DIR=${SHAPER_PDIR}/lcov-1.11
18 export PATH=${LCOV_ROOT_DIR}/bin:${PATH}
19 ##
20
21 #------ cpplint ------
22 export CPPLINT_ROOT_DIR=${SHAPER_PDIR}/cpplint-1.3.0
23 export PATH=${CPPLINT_ROOT_DIR}:${PATH}
24 ##
25
26 #------ SHAPER ------
27 export PATH=${SHAPER_ROOT_DIR}/bin/salome:${PATH}
28 export PYTHONPATH=${SHAPER_ROOT_DIR}/bin/salome:${SHAPER_ROOT_DIR}/lib/python3.6/site-packages/salome:${PYTHONPATH}
29 export LD_LIBRARY_PATH=${SHAPER_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}