diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-07-11 13:44:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-14 14:35:58 (GMT) |
commit | 4db08807db2fc0db6ab0c4d438ddb3f20969d2fb (patch) | |
tree | 1ad4e9fa5d75b702f8e5ec236cca720978d64053 /Source/cmake.cxx | |
parent | 43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688 (diff) | |
download | CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.zip CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.tar.gz CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.tar.bz2 |
CMake: Report whether generators support platforms
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index c597605..fceec16 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -853,6 +853,7 @@ void cmake::GetRegisteredGenerators(std::vector<GeneratorInfo>& generators) for (size_t j = 0; j < names.size(); ++j) { GeneratorInfo info; info.supportsToolset = (*i)->SupportsToolset(); + info.supportsPlatform = (*i)->SupportsPlatform(); info.name = names[j]; generators.push_back(info); } @@ -865,6 +866,7 @@ void cmake::GetRegisteredGenerators(std::vector<GeneratorInfo>& generators) GeneratorInfo info; info.name = i->first; info.supportsToolset = false; + info.supportsPlatform = false; generators.push_back(info); } } |