mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
15 lines
417 B
Bash
Executable File
15 lines
417 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh" $*; fi
|
|
cd $aSamplePath
|
|
qmake IESample.pro
|
|
if [ "$(uname -s)" != "Darwin" ] || [ "$MACOSX_USE_GLX" == "true" ]; then
|
|
aNbJobs="$(getconf _NPROCESSORS_ONLN)"
|
|
if [ "${CASDEB}" == "d" ]; then
|
|
make -j $aNbJobs debug
|
|
else
|
|
make -j $aNbJobs release
|
|
fi
|
|
fi
|