forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
472 B
Bash
23 lines
472 B
Bash
#!/bin/sh
|
|
|
|
export CXX=clang++
|
|
export CC=clang
|
|
|
|
DEPENDENCIES_ROOT="/private/tmp/openmw-deps/openmw-deps"
|
|
QT_PATH=`brew --prefix $macos_qt_formula`
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake \
|
|
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \
|
|
-D CMAKE_OSX_DEPLOYMENT_TARGET="10.8" \
|
|
-D CMAKE_OSX_SYSROOT="macosx10.12" \
|
|
-D CMAKE_BUILD_TYPE=Debug \
|
|
-D OPENMW_OSX_DEPLOYMENT=TRUE \
|
|
-D DESIRED_QT_VERSION=5 \
|
|
-D BUILD_ESMTOOL=FALSE \
|
|
-D BUILD_MYGUI_PLUGIN=FALSE \
|
|
-G"Unix Makefiles" \
|
|
..
|