3 echo Uninstalling MSVC integration...
\r
5 REM CD 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
19 del %D%\llvm\Microsoft.Cpp.Win32.llvm.props
\r
20 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
21 del %D%\llvm\Microsoft.Cpp.Win32.llvm.targets
\r
22 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
24 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
\r
30 echo MSVC integration uninstall failed.
\r