Build Visual Studio 2019 binaries

This commit is contained in:
Frank Denis 2019-04-03 14:56:28 +02:00
parent e66a483301
commit 5fb4cbd8d7
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
@ECHO OFF @ECHO OFF
CALL buildbase.bat ..\vs2019\libsodium.sln 16
ECHO.
CALL buildbase.bat ..\vs2017\libsodium.sln 15 CALL buildbase.bat ..\vs2017\libsodium.sln 15
ECHO. ECHO.
CALL buildbase.bat ..\vs2015\libsodium.sln 14 CALL buildbase.bat ..\vs2015\libsodium.sln 14

View File

@ -1,10 +1,11 @@
@ECHO OFF @ECHO OFF
REM Usage: [buildbase.bat ..\vs2013\mysolution.sln 12] REM Usage: [buildbase.bat ..\vs2019\mysolution.sln 16]
SET solution=%1 SET solution=%1
SET version=%2 SET version=%2
SET log=build_%version%.log SET log=build_%version%.log
SET tools=Microsoft Visual Studio %version%.0\VC\vcvarsall.bat SET tools=Microsoft Visual Studio %version%.0\VC\vcvarsall.bat
IF %version% == 16 SET tools=Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
IF %version% == 15 SET tools=Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat IF %version% == 15 SET tools=Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat
SET environment="%programfiles(x86)%\%tools%" SET environment="%programfiles(x86)%\%tools%"
IF NOT EXIST %environment% SET environment="%programfiles%\%tools%" IF NOT EXIST %environment% SET environment="%programfiles%\%tools%"