Skip to content

Commit

Permalink
appveyor: also test Nmake Makefiles generator as Unvanquished builds …
Browse files Browse the repository at this point in the history
…the engine with it
  • Loading branch information
illwieckz committed Jan 8, 2020
1 parent b1be593 commit 96d5c1f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
generator: Visual Studio 16 2019
platform: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
generator: NMake Makefiles
# -Aplatform is not supported by CMake's NMake Makefiles generator and produces an error
VCVARSBAT: vcvars64.bat
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
generator: Visual Studio 16 2019
platform: win32
Expand All @@ -27,7 +31,15 @@ build_script:
- cmd: >
cmake --version
cmake -G"%generator%" -A"%platform%"
if "%generator%"=="NMake Makefiles"
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\%VCVARSBAT%"
set cmake=cmake
if not "x%generator:Visual Studio=%"=="x%generator%"
set cmake=%cmake% -A"%platform%"
%cmake% -G"%generator%"
-DUSE_WERROR=1 -DBE_VERBOSE=1
-DUSE_PRECOMPILED_HEADER=0 -DBUILD_GAME_NACL=0
-DCMAKE_BUILD_TYPE="%configuration%"
Expand Down

0 comments on commit 96d5c1f

Please sign in to comment.