0031568: Data Exchange - invalid model produced after STEP import
[occt.git] / samples / qt / FuncDemo / make.sh
1 #!/bin/bash
2
3 export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4 if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh" $*; fi
5 cd $aSamplePath
6 qmake FuncDemo.pro
7 if [ "$(uname -s)" != "Darwin" ] || [ "$MACOSX_USE_GLX" == "true" ]; then
8   aNbJobs="$(getconf _NPROCESSORS_ONLN)"
9   if [ "${CASDEB}" == "d" ]; then
10     make -j $aNbJobs debug
11   else
12     make -j $aNbJobs release
13   fi
14 fi