Fossil SCM
Add preliminary support for Visual Studio 2015 to the MSVC batch build tool.
Commit
31706552da73fcbe3d7cd9391e72a6f4cfb66ba4
Parent
eb2326e51a753bb…
1 file changed
+11
+11
| --- win/buildmsvc.bat | ||
| +++ win/buildmsvc.bat | ||
| @@ -45,10 +45,21 @@ | ||
| 45 | 45 | IF DEFINED VSVARS32 IF EXIST "%VSVARS32%" ( |
| 46 | 46 | %_AECHO% Build environment batch file manually overridden to "%VSVARS32%"... |
| 47 | 47 | GOTO skip_detectVisualStudio |
| 48 | 48 | ) |
| 49 | 49 | |
| 50 | +REM | |
| 51 | +REM Visual Studio 2015 | |
| 52 | +REM | |
| 53 | +IF NOT DEFINED VS140COMNTOOLS GOTO skip_detectVisualStudio2015 | |
| 54 | +SET VSVARS32=%VS140COMNTOOLS%\vsvars32.bat | |
| 55 | +IF EXIST "%VSVARS32%" ( | |
| 56 | + %_AECHO% Using Visual Studio 2015... | |
| 57 | + GOTO skip_detectVisualStudio | |
| 58 | +) | |
| 59 | +:skip_detectVisualStudio2015 | |
| 60 | + | |
| 50 | 61 | REM |
| 51 | 62 | REM Visual Studio 2013 |
| 52 | 63 | REM |
| 53 | 64 | IF NOT DEFINED VS120COMNTOOLS GOTO skip_detectVisualStudio2013 |
| 54 | 65 | SET VSVARS32=%VS120COMNTOOLS%\vsvars32.bat |
| 55 | 66 |
| --- win/buildmsvc.bat | |
| +++ win/buildmsvc.bat | |
| @@ -45,10 +45,21 @@ | |
| 45 | IF DEFINED VSVARS32 IF EXIST "%VSVARS32%" ( |
| 46 | %_AECHO% Build environment batch file manually overridden to "%VSVARS32%"... |
| 47 | GOTO skip_detectVisualStudio |
| 48 | ) |
| 49 | |
| 50 | REM |
| 51 | REM Visual Studio 2013 |
| 52 | REM |
| 53 | IF NOT DEFINED VS120COMNTOOLS GOTO skip_detectVisualStudio2013 |
| 54 | SET VSVARS32=%VS120COMNTOOLS%\vsvars32.bat |
| 55 |
| --- win/buildmsvc.bat | |
| +++ win/buildmsvc.bat | |
| @@ -45,10 +45,21 @@ | |
| 45 | IF DEFINED VSVARS32 IF EXIST "%VSVARS32%" ( |
| 46 | %_AECHO% Build environment batch file manually overridden to "%VSVARS32%"... |
| 47 | GOTO skip_detectVisualStudio |
| 48 | ) |
| 49 | |
| 50 | REM |
| 51 | REM Visual Studio 2015 |
| 52 | REM |
| 53 | IF NOT DEFINED VS140COMNTOOLS GOTO skip_detectVisualStudio2015 |
| 54 | SET VSVARS32=%VS140COMNTOOLS%\vsvars32.bat |
| 55 | IF EXIST "%VSVARS32%" ( |
| 56 | %_AECHO% Using Visual Studio 2015... |
| 57 | GOTO skip_detectVisualStudio |
| 58 | ) |
| 59 | :skip_detectVisualStudio2015 |
| 60 | |
| 61 | REM |
| 62 | REM Visual Studio 2013 |
| 63 | REM |
| 64 | IF NOT DEFINED VS120COMNTOOLS GOTO skip_detectVisualStudio2013 |
| 65 | SET VSVARS32=%VS120COMNTOOLS%\vsvars32.bat |
| 66 |