mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-23 01:21:39 +00:00
Run unity build
This commit is contained in:
parent
ead82742cd
commit
fec08ef73e
@ -16,6 +16,9 @@ while [ $# -gt 0 ]; do
|
|||||||
|
|
||||||
-k )
|
-k )
|
||||||
KEEP=true ;;
|
KEEP=true ;;
|
||||||
|
|
||||||
|
-u )
|
||||||
|
UNITY_BUILD=true ;;
|
||||||
|
|
||||||
* )
|
* )
|
||||||
echo "Unknown arg $ARG."
|
echo "Unknown arg $ARG."
|
||||||
@ -162,6 +165,10 @@ case $PLATFORM in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if ! [ -z $UNITY_BUILD ]; then
|
||||||
|
add_cmake_opts "-DOPENMW_UNITY_BUILD=True"
|
||||||
|
fi
|
||||||
|
|
||||||
case $CONFIGURATION in
|
case $CONFIGURATION in
|
||||||
debug|Debug|DEBUG )
|
debug|Debug|DEBUG )
|
||||||
CONFIGURATION=Debug
|
CONFIGURATION=Debug
|
||||||
|
@ -15,7 +15,7 @@ environment:
|
|||||||
- STEP: misc
|
- STEP: misc
|
||||||
# - STEP: components # misc builds this too
|
# - STEP: components # misc builds this too
|
||||||
# Build takes too long for these, ignore for now
|
# Build takes too long for these, ignore for now
|
||||||
# - STEP: openmw
|
- STEP: openmw
|
||||||
# - STEP: opencs
|
# - STEP: opencs
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
@ -40,7 +40,7 @@ cache:
|
|||||||
clone_folder: C:\projects\openmw
|
clone_folder: C:\projects\openmw
|
||||||
|
|
||||||
before_build:
|
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:
|
build_script:
|
||||||
- cmd: if %PLATFORM%==Win32 set build=Build_32
|
- cmd: if %PLATFORM%==Win32 set build=Build_32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user