cpp_client_telemetry/build-Win32Release.bat

18 строки
742 B
Batchfile
Исходник Обычный вид История

@echo off
cd %~dp0
2018-03-31 03:05:05 +03:00
call tools\gen-version.cmd
@setlocal ENABLEEXTENSIONS
echo "Building using Visual Studio 2017 tools"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat"
set MAXCPUCOUNT=%NUMBER_OF_PROCESSORS%
set platform=
2019-03-29 02:40:31 +03:00
set SOLUTION=Solutions\MSTelemetrySDK.sln
msbuild %SOLUTION% /target:sqlite,zlib,sqlite-uwp,win32-dll,win32-lib,net40,win10-cs,win10-dll,Tests\gmock,Tests\gtest,Tests\UnitTests,Tests\FuncTests /p:BuildProjectReferences=true /maxcpucount:%MAXCPUCOUNT% /detailedsummary /p:Configuration=Release /p:Platform=Win32
if errorLevel 1 goto end
2018-03-31 03:05:05 +03:00
Solutions\out\Release\Win32\UnitTests\UnitTests.exe
if errorLevel 1 goto end
2018-03-31 03:05:05 +03:00
Solutions\out\Release\Win32\FuncTests\FuncTests.exe
:end