diff options
author | Brad King <brad.king@kitware.com> | 2019-01-09 15:26:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-11 15:37:39 (GMT) |
commit | 68d316e0cf278021d9fa4553471d29803d09a394 (patch) | |
tree | cce6ec6105cfea6c06882de6822af3d2a0f93f79 /Source/cmake.cxx | |
parent | d8ed309d0529d9a7b28da561c3640290a8041b68 (diff) | |
download | CMake-68d316e0cf278021d9fa4553471d29803d09a394.zip CMake-68d316e0cf278021d9fa4553471d29803d09a394.tar.gz CMake-68d316e0cf278021d9fa4553471d29803d09a394.tar.bz2 |
VS: Rename VS 2017 generator sources to be version-independent
Rename `cmGlobalVisualStudio{15 => Versioned}Generator`. Rename
`Factory` to `Factory15` since that part still needs to be
version-specific.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 195956b..1d062f4 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -55,8 +55,8 @@ # include "cmGlobalVisualStudio11Generator.h" # include "cmGlobalVisualStudio12Generator.h" # include "cmGlobalVisualStudio14Generator.h" -# include "cmGlobalVisualStudio15Generator.h" # include "cmGlobalVisualStudio9Generator.h" +# include "cmGlobalVisualStudioVersionedGenerator.h" # include "cmVSSetupHelper.h" # define CMAKE_HAVE_VS_GENERATORS @@ -1792,7 +1792,8 @@ void cmake::AddDefaultGenerators() { #if defined(_WIN32) && !defined(__CYGWIN__) # if !defined(CMAKE_BOOT_MINGW) - this->Generators.push_back(cmGlobalVisualStudio15Generator::NewFactory()); + this->Generators.push_back( + cmGlobalVisualStudioVersionedGenerator::NewFactory15()); this->Generators.push_back(cmGlobalVisualStudio14Generator::NewFactory()); this->Generators.push_back(cmGlobalVisualStudio12Generator::NewFactory()); this->Generators.push_back(cmGlobalVisualStudio11Generator::NewFactory()); |