1
0
forked from cheng/wallet
wallet/msvc/winConfig.bat

126 lines
2.2 KiB
Batchfile
Raw Normal View History

echo on
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"
echo on
cd libsodium/builds/msvc/vs2022
msbuild libsodium.sln -p:Configuration=StaticRelease;Platform=x64 -m
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
msbuild libsodium.sln -p:Configuration=StaticDebug;Platform=x64 -m
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
cd ../../../..
cd mpir\msvc\vs22
2022-02-16 21:25:44 -05:00
call msbuild.bat gc lib x64 Debug
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
call msbuild.bat gc lib x64 Debug test
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
call msbuild.bat gc lib x64 Debug tune
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
call msbuild.bat gc lib x64 Release
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
call msbuild.bat gc lib x64 Release test
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
call msbuild.bat gc lib x64 Release tune
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
call msbuild.bat gc lib x64 Debug
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
cd ..\..\..
cd wxWidgets\build\msw
msbuild wx_vc17.sln -m -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
PAUSE
GOTO:EOF
)
echo on
msbuild wx_vc17.sln -m -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
PAUSE
GOTO:EOF
)
echo on
cd ..\..\..
2022-06-30 06:54:26 -04:00
msbuild wallet.sln -p:Configuration=Debug;Platform=x64 -m
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
PAUSE
GOTO:EOF
)
echo on
2022-06-30 06:54:26 -04:00
msbuild wallet.sln -p:Configuration=Release;Platform=x64 -m
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
PAUSE
GOTO:EOF
)
echo on
2022-06-30 06:54:26 -04:00
.\build\Debug\wallet.exe --complete --test
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
2022-05-04 08:03:46 -04:00
echo failed unit test on debug build
2022-02-16 21:25:44 -05:00
) ELSE (
2022-05-04 08:03:46 -04:00
echo passed unit test on debug build)
echo on
2022-06-30 06:54:26 -04:00
.\build\Release\wallet.exe --complete --test
2022-05-04 08:03:46 -04:00
echo off
IF %ERRORLEVEL% NEQ 0 (
echo failed unit test on release build
) ELSE (
echo passed unit test on release build
)