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/cmCMakeHostSystemInformationCommand.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/cmCMakeHostSystemInformationCommand.cxx')
-rw-r--r-- | Source/cmCMakeHostSystemInformationCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCMakeHostSystemInformationCommand.cxx b/Source/cmCMakeHostSystemInformationCommand.cxx index a2423ac..ddc32c0 100644 --- a/Source/cmCMakeHostSystemInformationCommand.cxx +++ b/Source/cmCMakeHostSystemInformationCommand.cxx @@ -10,7 +10,7 @@ #if defined(_WIN32) # include "cmAlgorithms.h" # include "cmGlobalGenerator.h" -# include "cmGlobalVisualStudio15Generator.h" +# include "cmGlobalVisualStudioVersionedGenerator.h" # include "cmSystemTools.h" # include "cmVSSetupHelper.h" # define HAVE_VS_SETUP_HELPER @@ -133,8 +133,8 @@ bool cmCMakeHostSystemInformationCommand::GetValue( // If generating for the VS 15 IDE, use the same instance. cmGlobalGenerator* gg = this->Makefile->GetGlobalGenerator(); if (cmHasLiteralPrefix(gg->GetName(), "Visual Studio 15 ")) { - cmGlobalVisualStudio15Generator* vs15gen = - static_cast<cmGlobalVisualStudio15Generator*>(gg); + cmGlobalVisualStudioVersionedGenerator* vs15gen = + static_cast<cmGlobalVisualStudioVersionedGenerator*>(gg); if (vs15gen->GetVSInstance(value)) { return true; } |