-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.bat
More file actions
23 lines (17 loc) · 740 Bytes
/
build.bat
File metadata and controls
23 lines (17 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
echo Usage: %~nx0 [RCI flag] [configuration name or nothing to build all]
echo DBG == Debug; REL == Release; + _SDK10/15/17
if "%~1"=="RCI" ( set "IsRCI=1" & set "cfg=%~2" ) else ( set "IsRCI=" & set "cfg=%~1" )
::::::::::::::::::::
set __p_call=1
call tools\gnt /p:ngconfig="tools/packages.config" || goto err
set bnode=packages\vsSolutionBuildEvent\cim.cmd -vsw-priority Microsoft.NetCore.Component.SDK /m:7 /v:m /p:Platform="Any CPU"
if not defined cfg (
call %bnode% /p:Configuration=REL_SDK10 || goto err
call %bnode% /p:Configuration=REL_SDK15 || goto err
call %bnode% /p:Configuration=REL_SDK17 || goto err
) else call %bnode% /p:Configuration=%cfg% || goto err
exit /B 0
:err
echo. Failed. 1>&2
exit /B 1