diff --git a/builds/msvc/build/buildall.bat b/builds/msvc/build/buildall.bat index d4ab14ac..4f0b4211 100644 --- a/builds/msvc/build/buildall.bat +++ b/builds/msvc/build/buildall.bat @@ -1,5 +1,7 @@ @ECHO OFF +CALL buildbase.bat ..\vs2019\libsodium.sln 16 +ECHO. CALL buildbase.bat ..\vs2017\libsodium.sln 15 ECHO. CALL buildbase.bat ..\vs2015\libsodium.sln 14 diff --git a/builds/msvc/build/buildbase.bat b/builds/msvc/build/buildbase.bat index bfc70556..35ecbc5f 100644 --- a/builds/msvc/build/buildbase.bat +++ b/builds/msvc/build/buildbase.bat @@ -1,10 +1,11 @@ @ECHO OFF -REM Usage: [buildbase.bat ..\vs2013\mysolution.sln 12] +REM Usage: [buildbase.bat ..\vs2019\mysolution.sln 16] SET solution=%1 SET version=%2 SET log=build_%version%.log 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 SET environment="%programfiles(x86)%\%tools%" IF NOT EXIST %environment% SET environment="%programfiles%\%tools%"