summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-19 14:52:46 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-19 17:54:34 (GMT)
commit30a695021ccc6583493b3e7f9992ad428cd2855f (patch)
tree6d04fcb748dee78c17cd8d81c1ef721e119571ae /Source/cmake.cxx
parente8f841473bcefc618ddf6712567e624156e88399 (diff)
downloadCMake-30a695021ccc6583493b3e7f9992ad428cd2855f.zip
CMake-30a695021ccc6583493b3e7f9992ad428cd2855f.tar.gz
CMake-30a695021ccc6583493b3e7f9992ad428cd2855f.tar.bz2
Add cmGlobalGeneratorFactory::GetGenerators()
This allows cmGlobalGeneratorFactory to create more than one type of cmGlobalGenerator in a next step.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 08a322f..2d531ba 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1877,7 +1877,7 @@ void cmake::GetRegisteredGenerators(std::vector<std::string>& names)
for(RegisteredGeneratorsMap::const_iterator i = this->Generators.begin();
i != this->Generators.end(); ++i)
{
- names.push_back(i->first);
+ i->second->GetGenerators(names);
}
for(RegisteredExtraGeneratorsMap::const_iterator
i = this->ExtraGenerators.begin();