791c414b9af7b64eedd97147201441073224c023
[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