mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 16:49:55 +00:00
84cab59057
# Conflicts: # .travis.yml # CI/before_install.linux.sh # CI/before_script.linux.sh # apps/openmw/engine.cpp # apps/openmw/main.cpp # apps/openmw/mwgui/windowmanagerimp.cpp # apps/openmw/mwmechanics/actors.hpp # apps/openmw/mwmechanics/mechanicsmanagerimp.cpp # apps/openmw/mwscript/aiextensions.cpp # apps/openmw/mwscript/containerextensions.cpp # apps/openmw/mwscript/dialogueextensions.cpp # apps/openmw/mwworld/cellstore.cpp # apps/openmw/mwworld/containerstore.cpp # apps/openmw/mwworld/scene.cpp # apps/openmw/mwworld/worldimp.cpp # components/misc/debugging.hpp
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
#!/bin/sh -e
|
|
|
|
free -m
|
|
|
|
env GENERATOR='Unix Makefiles' CONFIGURATION=Release CI/build_googletest.sh
|
|
GOOGLETEST_DIR="$(pwd)/googletest/build"
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
# Set up compilers
|
|
if [ ! -z "${MATRIX_CC}" ]; then
|
|
eval "${MATRIX_CC}"
|
|
fi
|
|
|
|
export RAKNET_ROOT=~/CrabNet
|
|
|
|
export CODE_COVERAGE=0
|
|
if [ ! -z "${ANALYZE}" ]; then
|
|
CODE_COVERAGE=1
|
|
fi
|
|
|
|
${ANALYZE}cmake .. \
|
|
-DBUILD_WITH_CODE_COVERAGE=${CODE_COVERAGE} \
|
|
-DDESIRED_QT_VERSION=5 \
|
|
-DBUILD_OPENMW_MP=ON \
|
|
-DBUILD_BROWSER=ON \
|
|
-DBUILD_MASTER=ON \
|
|
-DBUILD_BSATOOL=OFF \
|
|
-DBUILD_ESMTOOL=OFF \
|
|
-DBUILD_ESSIMPORTER=OFF \
|
|
-DBUILD_LAUNCHER=OFF \
|
|
-DBUILD_MWINIIMPORTER=OFF \
|
|
-DBUILD_MYGUI_PLUGIN=OFF \
|
|
-DBUILD_OPENCS=OFF \
|
|
-DBUILD_WIZARD=OFF \
|
|
-DBUILD_UNITTESTS=1 \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBINDIR=/usr/games \
|
|
-DCMAKE_BUILD_TYPE="None" \
|
|
-DUSE_SYSTEM_TINYXML=TRUE \
|
|
-DGTEST_ROOT="${GOOGLETEST_DIR}" \
|
|
-DGMOCK_ROOT="${GOOGLETEST_DIR}" \
|
|
-DRakNet_LIBRARY_RELEASE=~/CrabNet/lib/libRakNetLibStatic.a \
|
|
-DRakNet_LIBRARY_DEBUG=~/CrabNet/lib/libRakNetLibStatic.a
|