From fb2d0d022108453ed1284b95525a5d426f963893 Mon Sep 17 00:00:00 2001 From: aryan Date: Thu, 9 Jun 2022 18:09:43 -0700 Subject: [PATCH] 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 --- winConfigure.bat | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/winConfigure.bat b/winConfigure.bat index 4d20630..8cea4a2 100644 --- a/winConfigure.bat +++ b/winConfigure.bat @@ -7,7 +7,7 @@ IF %ERRORLEVEL% NEQ 0 ( ) echo on 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 IF %ERRORLEVEL% NEQ 0 ( cd .. @@ -15,7 +15,7 @@ IF %ERRORLEVEL% NEQ 0 ( GOTO:EOF ) 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 IF %ERRORLEVEL% NEQ 0 ( cd .. @@ -82,14 +82,14 @@ IF %ERRORLEVEL% NEQ 0 ( echo on cd ..\..\.. 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 IF %ERRORLEVEL% NEQ 0 ( PAUSE GOTO:EOF ) 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 IF %ERRORLEVEL% NEQ 0 ( PAUSE @@ -98,14 +98,14 @@ IF %ERRORLEVEL% NEQ 0 ( echo on cd ..\..\.. -devenv wallet.sln /build "Debug|x64" +msbuild wallet.vcxproj -p:Configuration=Debug -m echo off IF %ERRORLEVEL% NEQ 0 ( PAUSE GOTO:EOF ) echo on -devenv wallet.sln /build "Release|x64" +msbuild wallet.vcxproj -p:Configuration=Release -m echo off IF %ERRORLEVEL% NEQ 0 ( PAUSE @@ -124,4 +124,5 @@ echo off IF %ERRORLEVEL% NEQ 0 ( echo failed unit test on release build ) ELSE ( - echo passed unit test on release build) + echo passed unit test on release build +)