aboutsummaryrefslogtreecommitdiff
path: root/src/burn/burn.cmd
blob: 55478eb2f085221182bc4c29cea115c3f8423880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@setlocal
@pushd %~dp0

@set _C=Debug
:parse_args
@if /i "%1"=="release" set _C=Release
@if not "%1"=="" shift & goto parse_args

@echo Building burn %_C%

:: burn

nuget restore || exit /b

msbuild -t:Test -p:Configuration=%_C% test\BurnUnitTest || exit /b

msbuild -t:Build -p:Configuration=%_C%;Platform=x86 || exit /b
msbuild -t:Build -p:Configuration=%_C%;Platform=x64 || exit /b
msbuild -t:Build -p:Configuration=%_C%;Platform=arm64 || exit /b

msbuild -t:PackNative -p:Configuration=%_C% stub\stub.vcxproj || exit /b

@popd
@endlocal