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

125 lines
2.3 KiB
Batchfile
Raw Normal View History

echo off
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
2022-02-16 21:25:44 -05:00
cd libsodium
msbuild libsodium.vcxproj -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
msbuild libsodium.vcxproj -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m
2022-02-16 21:25:44 -05:00
echo off
IF %ERRORLEVEL% NEQ 0 (
cd ..
PAUSE
GOTO:EOF
)
echo on
2022-02-17 03:25:36 -05:00
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
)