mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
Run unity build
This commit is contained in:
parent
ead82742cd
commit
fec08ef73e
2 changed files with 9 additions and 2 deletions
|
@ -17,6 +17,9 @@ while [ $# -gt 0 ]; do
|
|||
-k )
|
||||
KEEP=true ;;
|
||||
|
||||
-u )
|
||||
UNITY_BUILD=true ;;
|
||||
|
||||
* )
|
||||
echo "Unknown arg $ARG."
|
||||
exit 1 ;;
|
||||
|
@ -162,6 +165,10 @@ case $PLATFORM in
|
|||
;;
|
||||
esac
|
||||
|
||||
if ! [ -z $UNITY_BUILD ]; then
|
||||
add_cmake_opts "-DOPENMW_UNITY_BUILD=True"
|
||||
fi
|
||||
|
||||
case $CONFIGURATION in
|
||||
debug|Debug|DEBUG )
|
||||
CONFIGURATION=Debug
|
||||
|
|
|
@ -15,7 +15,7 @@ environment:
|
|||
- STEP: misc
|
||||
# - STEP: components # misc builds this too
|
||||
# Build takes too long for these, ignore for now
|
||||
# - STEP: openmw
|
||||
- STEP: openmw
|
||||
# - STEP: opencs
|
||||
|
||||
matrix:
|
||||
|
@ -40,7 +40,7 @@ cache:
|
|||
clone_folder: C:\projects\openmw
|
||||
|
||||
before_build:
|
||||
- cmd: sh %APPVEYOR_BUILD_FOLDER%\CI\before_script.msvc.sh
|
||||
- cmd: sh %APPVEYOR_BUILD_FOLDER%\CI\before_script.msvc.sh -u
|
||||
|
||||
build_script:
|
||||
- cmd: if %PLATFORM%==Win32 set build=Build_32
|
||||
|
|
Loading…
Reference in a new issue