diff options
author | Tanner Gooding <tagoo@outlook.com> | 2017-03-03 21:32:28 -0800 |
---|---|---|
committer | Tanner Gooding <tagoo@outlook.com> | 2017-03-06 08:30:44 -0800 |
commit | 029c38fa726ccfc5bf3e18a567075643ee5efd35 (patch) | |
tree | 25e0f894c426708f59cdb7aa0150d86efd4df9c6 /run.cmd | |
parent | ccf4cb343f6b9f47fc4b08d8811ead1caa3c706c (diff) | |
download | coreclr-029c38fa726ccfc5bf3e18a567075643ee5efd35.tar.gz coreclr-029c38fa726ccfc5bf3e18a567075643ee5efd35.tar.bz2 coreclr-029c38fa726ccfc5bf3e18a567075643ee5efd35.zip |
Updating the build scripts to support VS2017.
Diffstat (limited to 'run.cmd')
-rw-r--r-- | run.cmd | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2,7 +2,13 @@ setlocal if not defined VisualStudioVersion ( - if defined VS140COMNTOOLS ( + if defined VS150COMNTOOLS ( + if not exist "%VS150COMNTOOLS%\..\IDE\devenv.exe" goto NoVS + if not exist "%VS150COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" goto NoVS + if not exist "%VS150COMNTOOLS%\VsDevCmd.bat" goto NoVS + call "%VS150COMNTOOLS%\VsDevCmd.bat" + goto :Run + ) else if defined VS140COMNTOOLS ( if not exist "%VS140COMNTOOLS%\..\IDE\devenv.exe" goto NoVS if not exist "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" goto NoVS if not exist "%VS140COMNTOOLS%\VsDevCmd.bat" goto NoVS @@ -11,7 +17,7 @@ if not defined VisualStudioVersion ( ) :NoVS - echo Error: Visual Studio 2015 required. + echo Error: Visual Studio 2015 or 2017 required. echo https://github.com/dotnet/coreclr/blob/master/Documentation/building/windows-instructions.md for build instructions. exit /b 1 ) |