forked from ormsolutions/NORMA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirstTimeBuildVS2015.bat
More file actions
24 lines (21 loc) · 861 Bytes
/
Copy pathFirstTimeBuildVS2015.bat
File metadata and controls
24 lines (21 loc) · 861 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
@ECHO OFF
SETLOCAL
SET RootDir=%~dp0.
IF "%TargetVisualStudioVersion%"=="v8.0" (
SET DegradeToolsVersion=/toolsversion:2.0
) ELSE IF "%TargetVisualStudioVersion%"=="v9.0" (
SET DegradeToolsVersion=/toolsversion:3.5
) ELSE IF "%TargetVisualStudioVersion%"=="v10.0" (
SET DegradeToolsVersion=/toolsversion:4.0
) ELSE IF "%TargetVisualStudioVersion%"=="v11.0" (
SET DegradeToolsVersion=/toolsversion:4.0
) ELSE IF "%TargetVisualStudioVersion%"=="v12.0" (
SET TargetVisualStudioVersion=v12.0
SET DegradeToolsVersion=/toolsversion:12.0
) ELSE (
SET TargetVisualStudioVersion=v14.0
SET DegradeToolsVersion=/toolsversion:14.0
)
CALL "%RootDir%\BuildDevTools.bat" %* /consoleloggerparameters:DisableMPLogging %DegradeToolsVersion%
CALL "%RootDir%\Build.bat" %* /consoleloggerparameters:DisableMPLogging %DegradeToolsVersion%
GOTO:EOF