summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-01 18:58:55 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-01 18:58:55 (GMT)
commit2246e0336db396058ebcec67527bf790a34a8e72 (patch)
tree2520c5e2ccb6ca13d840e8a22101aaad150d26e7 /Source/cmake.cxx
parentee91e2549921075b02f0a88fb48323b1c015228c (diff)
downloadCMake-2246e0336db396058ebcec67527bf790a34a8e72.zip
CMake-2246e0336db396058ebcec67527bf790a34a8e72.tar.gz
CMake-2246e0336db396058ebcec67527bf790a34a8e72.tar.bz2
BUG: also offer the extra generators in CMakeSetup
Alex
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 85a1127..17b04e1 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1557,6 +1557,12 @@ void cmake::GetRegisteredGenerators(std::vector<std::string>& names)
{
names.push_back(i->first);
}
+ for(RegisteredExtraGeneratorsMap::const_iterator
+ i = this->ExtraGenerators.begin();
+ i != this->ExtraGenerators.end(); ++i)
+ {
+ names.push_back(i->first);
+ }
}
cmGlobalGenerator* cmake::CreateGlobalGenerator(const char* name)