3 echo Installing MSVC integration...
\r
6 REM Change to the directory of this batch file.
\r
9 REM Search for the MSBuild toolsets directory.
\r
10 SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets"
\r
11 IF EXIST %D% GOTO FOUND_V100
\r
12 SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets"
\r
13 IF EXIST %D% GOTO FOUND_V100
\r
16 SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\PlatformToolsets"
\r
17 IF EXIST %D% GOTO FOUND_V110
\r
18 SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\PlatformToolsets"
\r
19 IF EXIST %D% GOTO FOUND_V110
\r
21 IF NOT SUCCESS == 1 echo Failed to find MSBuild toolsets directory.
\r
22 IF NOT SUCCESS == 1 goto FAILED
\r
26 IF NOT EXIST %D%\LLVM-vs2010 mkdir %D%\LLVM-vs2010
\r
27 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
28 copy Microsoft.Cpp.Win32.LLVM-vs2010.props %D%\LLVM-vs2010
\r
29 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
30 copy Microsoft.Cpp.Win32.LLVM-vs2010.targets %D%\LLVM-vs2010
\r
31 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
36 IF NOT EXIST %D%\LLVM-vs2012 mkdir %D%\LLVM-vs2012
\r
37 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
38 copy Microsoft.Cpp.Win32.LLVM-vs2012.props %D%\LLVM-vs2012
\r
39 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
40 copy Microsoft.Cpp.Win32.LLVM-vs2012.targets %D%\LLVM-vs2012
\r
41 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
46 echo MSVC integration install failed.
\r