8fc47f63c93858bd3c3e15d2fb9cc9d8815ace13
[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   if [ "${CASDEB}" == "d" ]; then
9     make debug
10   else
11     make release
12   fi
13 fi