forked from AzureAD/azure-activedirectory-library-for-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildAll.cmd
27 lines (23 loc) · 898 Bytes
/
buildAll.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
echo off
echo To Build Non WinRT, you will need the Developer Prompt/MSBuild for VS2017!
set bconfig=debug
if '%1' NEQ '' (set bconfig=%1%)
if '%1' EQU 'd' (set bconfig=debug)
if '%1' EQU 'r' (set bconfig=release)
set btarget=build
if '%2' NEQ '' (set btarget=%2%)
if '%2' EQU 'b' (set btarget=build)
if '%2' EQU 'r' (set btarget=restore)
if '%2' EQU 'c' (set btarget=clean)
set bsampleapps=0
if '%3' NEQ '' (set bsampleapps=1)
echo Building using: target: %btarget%, configuration: %bconfig%, sample: %bsampleapps%
echo Restoring debug all...
START /W "Restoring debug all..." CMD /c buildVS2017.cmd %bconfig% r 1
echo Building debug...
START /W "Building debug..." CMD /c buildVS2017.cmd %bconfig% b
echo Strongnaming...
START /W "Strongnaming..." CMD /c strongname.cmd %bconfig%
echo Building debug all...
START /W "Building debug all..." CMD /c buildVS2017.cmd %bconfig% b 1
echo Done.