0031087: Configuration - make FreeType dependency optional [part 2]
[occt.git] / samples / qt / Tutorial / make.sh
... / ...
CommitLineData
1#!/bin/bash
2
3export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh" $*; fi
5cd $aSamplePath
6qmake Tutorial.pro
7if [ "$(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
14fi