Fixed winConfigure bat to run without visual studio

Only visual build tools installed by choco, pluw the desktop compent installed by the visual studio installer installed by choco
modified:   winConfigure.bat
This commit is contained in:
aryan 2022-06-09 18:09:43 -07:00
parent 671d070838
commit fb2d0d0221
No known key found for this signature in database
GPG Key ID: AAEB97E5E7AEDDB0

View File

@ -7,7 +7,7 @@ IF %ERRORLEVEL% NEQ 0 (
) )
echo on echo on
cd libsodium cd libsodium
msbuild libsodium.sln -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m msbuild libsodium.vcxproj -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
cd .. cd ..
@ -15,7 +15,7 @@ IF %ERRORLEVEL% NEQ 0 (
GOTO:EOF GOTO:EOF
) )
echo on echo on
msbuild libsodium.sln -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m msbuild libsodium.vcxproj -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
cd .. cd ..
@ -82,14 +82,14 @@ IF %ERRORLEVEL% NEQ 0 (
echo on echo on
cd ..\..\.. cd ..\..\..
cd wxWidgets\build\msw cd wxWidgets\build\msw
msbuild wx_vc16.sln -m -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 msbuild wx_vc17.sln -m -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
PAUSE PAUSE
GOTO:EOF GOTO:EOF
) )
echo on echo on
msbuild wx_vc16.sln -m -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 msbuild wx_vc17.sln -m -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
PAUSE PAUSE
@ -98,14 +98,14 @@ IF %ERRORLEVEL% NEQ 0 (
echo on echo on
cd ..\..\.. cd ..\..\..
devenv wallet.sln /build "Debug|x64" msbuild wallet.vcxproj -p:Configuration=Debug -m
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
PAUSE PAUSE
GOTO:EOF GOTO:EOF
) )
echo on echo on
devenv wallet.sln /build "Release|x64" msbuild wallet.vcxproj -p:Configuration=Release -m
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
PAUSE PAUSE
@ -124,4 +124,5 @@ echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
echo failed unit test on release build echo failed unit test on release build
) ELSE ( ) ELSE (
echo passed unit test on release build) echo passed unit test on release build
)