-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathGetAndBuildThis.bat
More file actions
33 lines (28 loc) · 788 Bytes
/
GetAndBuildThis.bat
File metadata and controls
33 lines (28 loc) · 788 Bytes
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
27
28
29
30
31
32
33
setlocal
IF "%1"=="" (
set BUILD_CONFIG="Debug"
) ELSE (
set BUILD_CONFIG=%1
)
REM Presence of a second argument indicates that the caller has already run vsvars32.bat
IF "%2"=="" (
if not "%VS120COMNTOOLS%" == "" (
echo Setting up Visual Studio Pro 2013 Tools...
@call "%VS120COMNTOOLS%vsvars32.bat"
goto build
)
if not "%VS100COMNTOOLS%" == "" (
echo Setting up Visual Studio Pro 2010 Tools...
@call "%VS100COMNTOOLS%vsvars32.bat"
goto build
)
if not "%VS110COMNTOOLS%" == "" (
echo Setting up Visual Studio Express 2010 Tools...
@call "%VS110COMNTOOLS%vsvars32.bat"
goto build
)
)
:build
git pull --rebase
call UpdateDependencies.bat %BUILD_CONFIG% called-vsvars-already
msbuild "Chorus.sln" /verbosity:quiet /maxcpucount /p:Configuration=%BUILD_CONFIG%