summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-18 16:45:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-18 17:30:19 (GMT)
commit8bba458ea5d6b792e165560d79efd8d8356f4329 (patch)
treeebab8912dd2069ac812fd12a61615c10a1c60782 /Source/cmake.cxx
parent818df52c488a94628169811bddffe05f36c68b42 (diff)
downloadCMake-8bba458ea5d6b792e165560d79efd8d8356f4329.zip
CMake-8bba458ea5d6b792e165560d79efd8d8356f4329.tar.gz
CMake-8bba458ea5d6b792e165560d79efd8d8356f4329.tar.bz2
Add global generator factory method to get default platform name
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 927d39b..2ac1b00 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -977,6 +977,7 @@ void cmake::GetRegisteredGenerators(std::vector<GeneratorInfo>& generators,
info.supportsToolset = gen->SupportsToolset();
info.supportsPlatform = gen->SupportsPlatform();
info.supportedPlatforms = gen->GetKnownPlatforms();
+ info.defaultPlatform = gen->GetDefaultPlatformName();
info.name = name;
info.baseName = name;
info.isAlias = false;