3 echo Installing MSVC integration...
\r
5 REM Change to the directory of this batch file.
\r
8 REM Search for the MSBuild toolsets directory.
\r
9 SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets"
\r
10 IF EXIST %D% GOTO FOUND_MSBUILD
\r
11 SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets"
\r
12 IF EXIST %D% GOTO FOUND_MSBUILD
\r
14 echo Failed to find MSBuild toolsets directory.
\r
18 IF NOT EXIST %D%\llvm mkdir %D%\llvm
\r
19 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
21 copy Microsoft.Cpp.Win32.llvm.props %D%\llvm
\r
22 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
23 copy Microsoft.Cpp.Win32.llvm.targets %D%\llvm
\r
24 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
30 echo MSVC integration install failed.
\r