2024-02-25 20:05:46 -05:00
|
|
|
echo off
|
2023-09-13 20:45:12 -04:00
|
|
|
call C:\"Program Files (x86)"\"Microsoft Visual Studio"\2022\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat
|
|
|
|
call C:\"Program Files"\"Microsoft Visual Studio"\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
|
2024-02-25 20:05:46 -05:00
|
|
|
|
2023-09-13 20:45:12 -04:00
|
|
|
echo on
|
2024-02-25 20:05:46 -05:00
|
|
|
rmdir /Q /S build
|
|
|
|
rmdir /Q /S msvc\.vs
|
|
|
|
cd wxWidgets
|
|
|
|
rmdir /Q /S build\msw\vc_x64_mswu
|
|
|
|
rmdir /Q /S build\msw\vc_x64_mswud
|
|
|
|
rmdir /Q /S lib\vc_x64_lib
|
|
|
|
cd ..
|
|
|
|
echo check to see that everything is cleaned
|
|
|
|
git clean -xdn
|
|
|
|
cd wxWidgets
|
|
|
|
git clean -xdn
|
|
|
|
cd ..
|
|
|
|
PAUSE
|
|
|
|
|
|
|
|
|
2023-09-13 20:45:12 -04:00
|
|
|
echo on
|
2024-02-25 20:05:46 -05:00
|
|
|
cd wxWidgets\build\msw
|
2023-09-13 20:45:12 -04:00
|
|
|
msbuild wx_vc17.sln -m -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0
|
|
|
|
echo off
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
|
|
PAUSE
|
|
|
|
GOTO:EOF
|
|
|
|
)
|
|
|
|
echo on
|
|
|
|
cd ..\..\..
|
2024-02-25 20:05:46 -05:00
|
|
|
msbuild msvc/wallet.sln -p:Configuration=Debug;Platform=x64 -m
|
2023-09-13 20:45:12 -04:00
|
|
|
echo off
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
|
|
PAUSE
|
|
|
|
GOTO:EOF
|
|
|
|
)
|
|
|
|
echo on
|
|
|
|
.\build\Debug\wallet.exe --complete --test
|
|
|
|
echo off
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
|
|
echo failed unit test on debug build
|
|
|
|
) ELSE (
|
2024-02-25 20:05:46 -05:00
|
|
|
echo passed unit test on debug build
|
2023-09-13 20:45:12 -04:00
|
|
|
)
|