llvm.org GIT mirror llvm / 657c472
VS integration installer: set SUCCESS=1 if we find VS 2013 Previously we would print an error message on machines where the only VS version we find is 2013, even though we successfully install the integration files for it. Also, we shouldn't have two END labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204629 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 6 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
77
88 set PLATFORM=None
99 :START
10 IF %PLATFORM% == x64 GOTO END
10 IF %PLATFORM% == x64 GOTO LOOPEND
1111 IF %PLATFORM% == Win32 SET PLATFORM=x64
1212 IF %PLATFORM% == None SET PLATFORM=Win32
1313
2929 SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\%PLATFORM%\PlatformToolsets"
3030 IF EXIST %D% GOTO FOUND_V120
3131
32 :END
32 :LOOPEND
3333 IF %SUCCESS% == 1 goto DONE
3434 echo Failed to find MSBuild toolsets directory.
3535 goto FAILED
7474 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
7575 copy %PLATFORM%\toolset-vs2013_xp.targets %D%\LLVM-vs2013_xp\toolset.targets
7676 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
77 set SUCCESS=1
7778 GOTO START
7879
7980