before_script.osx.sh 458 Bytes
Newer Older
1 2
#!/bin/sh

3 4 5 6
export CXX=clang++
export CC=clang

DEPENDENCIES_ROOT="/private/tmp/openmw-deps/openmw-deps"
bret curtis's avatar
bret curtis committed
7
QT_PATH=`brew --prefix qt`
8 9
mkdir build
cd build
10 11 12

cmake \
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \
13
-D CMAKE_OSX_DEPLOYMENT_TARGET="10.9" \
bret curtis's avatar
bret curtis committed
14
-D CMAKE_OSX_SYSROOT="macosx10.13" \
15
-D CMAKE_BUILD_TYPE=Release \
16 17 18 19 20 21
-D OPENMW_OSX_DEPLOYMENT=TRUE \
-D DESIRED_QT_VERSION=5 \
-D BUILD_ESMTOOL=FALSE \
-D BUILD_MYGUI_PLUGIN=FALSE \
-G"Unix Makefiles" \
..