2017-05-10 20:29:11 +03:00
|
|
|
@echo off
|
2018-03-31 03:05:05 +03:00
|
|
|
call tools\gen-version.cmd
|
2017-05-11 23:48:49 +03:00
|
|
|
@setlocal ENABLEEXTENSIONS
|
2017-05-10 20:29:11 +03:00
|
|
|
|
2018-09-04 20:24:51 +03:00
|
|
|
echo "Building using Visual Studio 2017 tools"
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat"
|
2017-05-10 20:29:11 +03:00
|
|
|
|
|
|
|
set MAXCPUCOUNT=%NUMBER_OF_PROCESSORS%
|
|
|
|
set platform=
|
2018-09-04 20:24:51 +03:00
|
|
|
set SOLUTION=Solutions\AriaSDK.sln
|
2017-05-10 20:29:11 +03:00
|
|
|
|
2018-09-04 20:24:51 +03:00
|
|
|
msbuild %SOLUTION% /target:sqlite,zlib,sqlite-uwp,win32-dll,win32-lib,net40,win10-cs,win10-dll,gmock,gtest,UnitTests,FuncTests /p:BuildProjectReferences=true /maxcpucount:%MAXCPUCOUNT% /detailedsummary /p:Configuration=Debug /p:Platform=x64
|
2018-03-31 03:05:05 +03:00
|
|
|
Solutions\out\Debug\x64\UnitTests\UnitTests.exe
|
|
|
|
Solutions\out\Debug\x64\FuncTests\FuncTests.exe
|