2013-08-28 03:19:26 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
echo Uninstalling MSVC integration...
|
|
|
|
|
|
|
|
REM CD to the directory of this batch file.
|
|
|
|
cd /d %~dp0
|
|
|
|
|
2014-02-13 00:26:29 +01:00
|
|
|
set PLATFORM=None
|
2014-10-01 00:30:06 +02:00
|
|
|
:LOOPHEAD
|
|
|
|
IF %PLATFORM% == x64 GOTO LOOPEND
|
2014-02-13 00:26:29 +01:00
|
|
|
IF %PLATFORM% == Win32 SET PLATFORM=x64
|
|
|
|
IF %PLATFORM% == None SET PLATFORM=Win32
|
|
|
|
|
2013-08-28 03:19:26 +02:00
|
|
|
|
2014-02-13 00:26:29 +01:00
|
|
|
SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\Platforms\%PLATFORM%\PlatformToolsets"
|
|
|
|
IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.props
|
|
|
|
IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2010 rmdir %D%\LLVM-vs2010
|
|
|
|
SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\Platforms\%PLATFORM%\PlatformToolsets"
|
|
|
|
IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.props
|
|
|
|
IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.targets
|
2013-09-06 19:05:46 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2010 rmdir %D%\LLVM-vs2010
|
2013-08-28 03:19:26 +02:00
|
|
|
|
2014-02-13 00:26:29 +01:00
|
|
|
SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\%PLATFORM%\PlatformToolsets"
|
|
|
|
IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.props
|
|
|
|
IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.targets
|
2013-09-06 19:05:46 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2012 rmdir %D%\LLVM-vs2012
|
2014-02-13 00:26:29 +01:00
|
|
|
IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.props
|
|
|
|
IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.targets
|
2013-09-19 18:50:40 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2012_xp rmdir %D%\LLVM-vs2012_xp
|
2014-02-13 00:26:29 +01:00
|
|
|
SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\%PLATFORM%\PlatformToolsets"
|
|
|
|
IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.props
|
|
|
|
IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.targets
|
2013-09-06 19:05:46 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2012 rmdir %D%\LLVM-vs2012
|
2014-02-13 00:26:29 +01:00
|
|
|
IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.props
|
|
|
|
IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.targets
|
2013-09-19 18:50:40 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2012_xp rmdir %D%\LLVM-vs2012_xp
|
2013-08-28 03:19:26 +02:00
|
|
|
|
2014-02-13 00:26:29 +01:00
|
|
|
SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\%PLATFORM%\PlatformToolsets"
|
2013-10-10 19:32:01 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2013 del %D%\LLVM-vs2013\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2013 del %D%\LLVM-vs2013\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2013 rmdir %D%\LLVM-vs2013
|
|
|
|
IF EXIST %D%\LLVM-vs2013_xp del %D%\LLVM-vs2013_xp\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2013_xp del %D%\LLVM-vs2013_xp\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2013_xp rmdir %D%\LLVM-vs2013_xp
|
2014-02-13 00:26:29 +01:00
|
|
|
SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\%PLATFORM%\PlatformToolsets"
|
2013-10-10 19:32:01 +02:00
|
|
|
IF EXIST %D%\LLVM-vs2013 del %D%\LLVM-vs2013\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2013 del %D%\LLVM-vs2013\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2013 rmdir %D%\LLVM-vs2013
|
|
|
|
IF EXIST %D%\LLVM-vs2013_xp del %D%\LLVM-vs2013_xp\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2013_xp del %D%\LLVM-vs2013_xp\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2013_xp rmdir %D%\LLVM-vs2013_xp
|
|
|
|
|
2014-07-24 01:49:16 +02:00
|
|
|
SET D="%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\%PLATFORM%\PlatformToolsets"
|
|
|
|
IF EXIST %D%\LLVM-vs2014 del %D%\LLVM-vs2014\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2014 del %D%\LLVM-vs2014\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2014 rmdir %D%\LLVM-vs2014
|
|
|
|
IF EXIST %D%\LLVM-vs2014_xp del %D%\LLVM-vs2014_xp\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2014_xp del %D%\LLVM-vs2014_xp\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2014_xp rmdir %D%\LLVM-vs2014_xp
|
|
|
|
SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\%PLATFORM%\PlatformToolsets"
|
|
|
|
IF EXIST %D%\LLVM-vs2014 del %D%\LLVM-vs2014\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2014 del %D%\LLVM-vs2014\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2014 rmdir %D%\LLVM-vs2014
|
|
|
|
IF EXIST %D%\LLVM-vs2014_xp del %D%\LLVM-vs2014_xp\toolset.props
|
|
|
|
IF EXIST %D%\LLVM-vs2014_xp del %D%\LLVM-vs2014_xp\toolset.targets
|
|
|
|
IF EXIST %D%\LLVM-vs2014_xp rmdir %D%\LLVM-vs2014_xp
|
|
|
|
|
2014-02-13 00:26:29 +01:00
|
|
|
|
2014-10-01 00:30:06 +02:00
|
|
|
GOTO LOOPHEAD
|
2014-02-13 00:26:29 +01:00
|
|
|
|
2014-10-01 00:30:06 +02:00
|
|
|
:LOOPEND
|
2013-08-28 03:19:26 +02:00
|
|
|
echo Done!
|