Salome HOME
Copyrights update 2015.
[tools/simanio.git] / scripts / castem_env_products.sh
1 #!/bin/bash -noprofile
2
3 # Copyright (C) 2013-2015  CEA/DEN, EDF R&D, OPEN CASCADE
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 #
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #
21
22 #------ SALOME V6 main ------
23 #source /export/home/salome/V6_main_FD17_64/env_launch.sh
24
25 if [ -z "${SALOME_ROOT_DIR}" ]; then
26     echo "You need to set the environment variable SALOME_ROOT_DIR"
27     exit 1
28 fi
29
30 #. ${SALOME_ROOT_DIR}}/env_products.sh
31
32 #------ CASTEM_src ------
33 #export CASTEM_PATH=/export/home/fkl/Kloss/Castem/EtudeCastem
34 #export CASTEM_SRC_DIR=${CASTEM_PATH}/CASTEM_SRC
35 export CASTEM_PATH=${SALOME_ROOT_DIR}/CASTEM
36 export CASTEM_SRC_DIR=${CASTEM_PATH}/CASTEM_SRC
37
38 #------ CASTEM ------
39 #export CASTEM_ROOT_DIR=${CASTEM_PATH}/CASTEM_INSTALL
40 export CASTEM_ROOT_DIR=${CASTEM_PATH}
41 export            PATH=${CASTEM_ROOT_DIR}/bin/salome:${PATH}
42 export LD_LIBRARY_PATH=${CASTEM_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
43 export      PYTHONPATH=${CASTEM_ROOT_DIR}/bin/salome:${CASTEM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${PYTHONPATH}
44