Skip to content

Commit

Permalink
vs2019 support via premake 5 alpha 15, updated appveyor config for vs…
Browse files Browse the repository at this point in the history
…2019 vm image
  • Loading branch information
gorlak committed Sep 23, 2020
1 parent 604f15a commit 5a873fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image:
- Visual Studio 2017
- Visual Studio 2019

platform:
- x86
Expand All @@ -17,13 +17,13 @@ install:
- if "%PLATFORM%" equ "x64" set ARCH=x86_64
- if "%PLATFORM%" equ "x86" set PLAT=Win32
- if "%PLATFORM%" equ "x64" set PLAT=x64
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars%BITS%.bat"
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars%BITS%.bat"

build_script:
- cmd: cd Dependencies
- cmd: openssl-build
- cmd: cd ..
- cmd: premake --architecture=%ARCH% vs2017
- cmd: premake --architecture=%ARCH% vs2019
- cmd: msbuild Build\P4Win.sln /p:Configuration=%CONFIGURATION% /p:Platform=%PLAT% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:minimal
- cmd: if "%CONFIGURATION%" equ "Release" if "%PLATFORM%" equ "x64" installer

Expand Down
2 changes: 1 addition & 1 deletion Dependencies/premake
Submodule premake updated 496 files
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Now, build dependent libs. Open a visual studio command prompt for _the architec

Now, generate the main solution:

premake vs2017
premake vs2019
start Build\P4Win.sln

### License
Expand Down

0 comments on commit 5a873fe

Please sign in to comment.