diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-19 14:52:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-19 17:54:34 (GMT) |
commit | 30a695021ccc6583493b3e7f9992ad428cd2855f (patch) | |
tree | 6d04fcb748dee78c17cd8d81c1ef721e119571ae /Source/cmGlobalXCodeGenerator.cxx | |
parent | e8f841473bcefc618ddf6712567e624156e88399 (diff) | |
download | CMake-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/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 4b07a36..59ca652 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -120,6 +120,9 @@ public: virtual void GetDocumentation(cmDocumentationEntry& entry) const { cmGlobalXCodeGenerator().GetDocumentation(entry); } + + virtual void GetGenerators(std::vector<std::string>& names) const { + names.push_back(cmGlobalXCodeGenerator::GetActualName()); } }; //---------------------------------------------------------------------------- |