1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/CI/before_script.osx.sh

26 lines
650 B
Bash
Raw Normal View History

2018-03-13 21:58:52 +03:00
#!/bin/sh -e
2016-03-06 14:49:34 +01:00
export CXX=clang++
export CC=clang
2018-03-13 21:58:52 +03:00
env GENERATOR='Unix Makefiles' CONFIGURATION=Release CI/build_recastnavigation.sh
RECASTNAVIGATION_DIR="$(pwd)/recastnavigation/build"
2016-03-06 14:49:34 +01:00
DEPENDENCIES_ROOT="/private/tmp/openmw-deps/openmw-deps"
QT_PATH=`brew --prefix qt`
mkdir build
cd build
2016-03-06 14:49:34 +01:00
cmake \
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \
2016-10-31 17:09:29 +01:00
-D CMAKE_OSX_DEPLOYMENT_TARGET="10.9" \
-D CMAKE_OSX_SYSROOT="macosx10.13" \
2017-05-05 13:01:47 +03:00
-D CMAKE_BUILD_TYPE=Release \
2016-03-06 14:49:34 +01:00
-D OPENMW_OSX_DEPLOYMENT=TRUE \
-D DESIRED_QT_VERSION=5 \
-D BUILD_ESMTOOL=FALSE \
-D BUILD_MYGUI_PLUGIN=FALSE \
2018-03-13 21:58:52 +03:00
-D RecastNavigation_ROOT="${RECASTNAVIGATION_DIR}" \
2016-03-06 14:49:34 +01:00
-G"Unix Makefiles" \
..