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 /src/pal | |
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 'src/pal')
-rw-r--r-- | src/pal/tools/gen-buildsys-win.bat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pal/tools/gen-buildsys-win.bat b/src/pal/tools/gen-buildsys-win.bat index f7f81fca33..70da41aa86 100644 --- a/src/pal/tools/gen-buildsys-win.bat +++ b/src/pal/tools/gen-buildsys-win.bat @@ -19,6 +19,7 @@ set __SourceDir=%1 set __VSVersion=%2 set __Arch=%3 set __CmakeGenerator=Visual Studio +if /i "%__VSVersion%" == "vs2017" (set __CmakeGenerator=%__CmakeGenerator% 15 2017) if /i "%__VSVersion%" == "vs2015" (set __CmakeGenerator=%__CmakeGenerator% 14 2015) if /i "%__Arch%" == "x64" (set __CmakeGenerator=%__CmakeGenerator% Win64) if /i "%__Arch%" == "arm64" (set __CmakeGenerator=%__CmakeGenerator% Win64) @@ -47,7 +48,7 @@ GOTO :DONE echo "Usage..." echo "gen-buildsys-win.bat <path to top level CMakeLists.txt> <VSVersion>" echo "Specify the path to the top level CMake file - <ProjectK>/src/NDP" - echo "Specify the VSVersion to be used - VS2015" + echo "Specify the VSVersion to be used - VS2015 or VS2017" EXIT /B 1 :DONE |