2018-03-13 18:58:52 +00:00
|
|
|
#!/bin/sh -e
|
2014-10-04 11:23:23 +00:00
|
|
|
|
2016-03-06 13:49:34 +00:00
|
|
|
export CXX=clang++
|
|
|
|
export CC=clang
|
|
|
|
|
|
|
|
DEPENDENCIES_ROOT="/private/tmp/openmw-deps/openmw-deps"
|
2018-06-26 13:50:45 +00:00
|
|
|
QT_PATH=`brew --prefix qt`
|
2014-10-04 11:23:23 +00:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2016-03-06 13:49:34 +00:00
|
|
|
|
|
|
|
cmake \
|
|
|
|
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \
|
2016-10-31 16:09:29 +00:00
|
|
|
-D CMAKE_OSX_DEPLOYMENT_TARGET="10.9" \
|
2018-12-20 20:20:56 +00:00
|
|
|
-D CMAKE_OSX_SYSROOT="macosx10.14" \
|
2017-05-05 10:01:47 +00:00
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2016-03-06 13:49:34 +00:00
|
|
|
-D OPENMW_OSX_DEPLOYMENT=TRUE \
|
|
|
|
-D DESIRED_QT_VERSION=5 \
|
|
|
|
-D BUILD_ESMTOOL=FALSE \
|
|
|
|
-D BUILD_MYGUI_PLUGIN=FALSE \
|
|
|
|
-G"Unix Makefiles" \
|
|
|
|
..
|