0020716: Eliminate usage of "config.h" header file
[occt.git] / samples / qt / IESample / env.sh
CommitLineData
7a53e886 1#!/bin/sh
2
3if [ -e "${aSamplePath}/custom.sh" ]; then source "${aSamplePath}/custom.sh"; fi
90ac6145 4
5if test "${CASROOT}" == ""; then
6 echo "Environment variable \"CASROOT\" not defined. Define it in \"custom.sh\" script."
7 exit 1
8fi
9
10if test "${QTDIR}" == ""; then
11 echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script."
12 exit 1
13fi
14
15if test `uname -s` == "Darwin" && test "${WOKHOME}" == ""; then
16 echo "Environment variable \"WOKHOME\" not defined. Define it in \"custom.sh\" script."
17 exit 1
18fi
19
fad8962a 20host=`uname -s`
21export STATION=$host
22export RES_DIR=${aSamplePath}/${STATION}/res
23
90ac6145 24export PATH=${QTDIR}/bin:${PATH}
25
7a53e886 26source $CASROOT/env.sh
90ac6145 27export CSF_OPT_INC="${CASROOT}/inc:${WOKHOME}/lib:${CSF_OPT_INC}"