123 lines
2.2 KiB
Batchfile
123 lines
2.2 KiB
Batchfile
echo on
|
|
call C:\"Program Files (x86)"\"Microsoft Visual Studio"\2022\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat
|
|
cd libsodium
|
|
msbuild libsodium.vcxproj -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m
|
|
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
|
|
echo off
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
cd ..
|
|
PAUSE
|
|
GOTO:EOF
|
|
)
|
|
echo on
|
|
cd ..\mpir\msvc\vs22
|
|
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
|
|
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
|
|
echo off
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
PAUSE
|
|
GOTO:EOF
|
|
)
|
|
|
|
echo on
|
|
cd ..\..\..
|
|
msbuild wallet.vcxproj -p:Configuration=Debug;Platform=x64 -m
|
|
echo off
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
PAUSE
|
|
GOTO:EOF
|
|
)
|
|
echo on
|
|
msbuild wallet.vcxproj -p:Configuration=Release;Platform=x64 -m
|
|
echo off
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
PAUSE
|
|
GOTO:EOF
|
|
)
|
|
echo on
|
|
.\x64\Debug\wallet.exe --complete --test
|
|
echo off
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
echo failed unit test on debug build
|
|
) ELSE (
|
|
echo passed unit test on debug build)
|
|
echo on
|
|
.\x64\Release\wallet.exe --complete --test
|
|
echo off
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
echo failed unit test on release build
|
|
) ELSE (
|
|
echo passed unit test on release build
|
|
)
|