mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 01:19:31 -05:00
Make cmGlobalGenerator::GetDocumentation() a static function
Making the function static allows us to call it directly, without creating and removing an instance of the generator.
This commit is contained in:
committed by
Brad King
parent
04ff866ca8
commit
5170a8800f
@@ -119,7 +119,7 @@ public:
|
||||
virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const;
|
||||
|
||||
virtual void GetDocumentation(cmDocumentationEntry& entry) const {
|
||||
cmGlobalXCodeGenerator().GetDocumentation(entry); }
|
||||
cmGlobalXCodeGenerator::GetDocumentation(entry); }
|
||||
|
||||
virtual void GetGenerators(std::vector<std::string>& names) const {
|
||||
names.push_back(cmGlobalXCodeGenerator::GetActualName()); }
|
||||
@@ -3496,9 +3496,8 @@ const char* cmGlobalXCodeGenerator::GetCMakeCFGIntDir() const
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmGlobalXCodeGenerator::GetDocumentation(cmDocumentationEntry& entry)
|
||||
const
|
||||
{
|
||||
entry.Name = this->GetName();
|
||||
entry.Name = cmGlobalXCodeGenerator::GetActualName();
|
||||
entry.Brief = "Generate Xcode project files.";
|
||||
entry.Full = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user