vendor/libsodium/builds/msvc/build/buildbase.bat in rbnacl-libsodium-1.0.11 vs vendor/libsodium/builds/msvc/build/buildbase.bat in rbnacl-libsodium-1.0.13

- old
+ new

@@ -3,21 +3,22 @@ SET solution=%1 SET version=%2 SET log=build_%version%.log SET tools=Microsoft Visual Studio %version%.0\VC\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%" IF NOT EXIST %environment% GOTO no_tools ECHO Building: %solution% CALL %environment% x86 > nul ECHO Platform=x86 ECHO Configuration=DynDebug -msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=Win32 %solution% > %log% +msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=Win32 %solution% >> %log% IF errorlevel 1 GOTO error ECHO Configuration=DynRelease msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=Win32 %solution% >> %log% IF errorlevel 1 GOTO error ECHO Configuration=LtcgDebug @@ -35,10 +36,10 @@ CALL %environment% x86_amd64 > nul ECHO Platform=x64 ECHO Configuration=DynDebug -msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=x64 %solution% > %log% +msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=x64 %solution% >> %log% IF errorlevel 1 GOTO error ECHO Configuration=DynRelease msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=x64 %solution% >> %log% IF errorlevel 1 GOTO error ECHO Configuration=LtcgDebug