0026942: Training material are not built on OCCT installed after building by cmake...
[occt.git] / samples / qt / Tutorial / 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 Tutorial.pro
7 if [ "$(uname -s)" != "Darwin" ] || [ "$MACOSX_USE_GLX" == "true" ]; then
8   if [ "${CASDEB}" == "d" ]; then
9     make debug
10   else
11     make release
12   fi
13 fi