diff options
author | Brad King <brad.king@kitware.com> | 2019-01-18 16:45:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-18 17:30:19 (GMT) |
commit | 8bba458ea5d6b792e165560d79efd8d8356f4329 (patch) | |
tree | ebab8912dd2069ac812fd12a61615c10a1c60782 /Source/cmGlobalVisualStudioVersionedGenerator.cxx | |
parent | 818df52c488a94628169811bddffe05f36c68b42 (diff) | |
download | CMake-8bba458ea5d6b792e165560d79efd8d8356f4329.zip CMake-8bba458ea5d6b792e165560d79efd8d8356f4329.tar.gz CMake-8bba458ea5d6b792e165560d79efd8d8356f4329.tar.bz2 |
Add global generator factory method to get default platform name
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioVersionedGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.cxx b/Source/cmGlobalVisualStudioVersionedGenerator.cxx index 4b08b11..31f585c 100644 --- a/Source/cmGlobalVisualStudioVersionedGenerator.cxx +++ b/Source/cmGlobalVisualStudioVersionedGenerator.cxx @@ -159,6 +159,8 @@ public: platforms.emplace_back("ARM64"); return platforms; } + + std::string GetDefaultPlatformName() const override { return "Win32"; } }; cmGlobalGeneratorFactory* @@ -234,6 +236,11 @@ public: platforms.emplace_back("ARM64"); return platforms; } + + std::string GetDefaultPlatformName() const override + { + return VSHostPlatformName(); + } }; cmGlobalGeneratorFactory* |