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:
Patrick Gansterer
2012-11-19 16:42:24 +01:00
committed by Brad King
parent 04ff866ca8
commit 5170a8800f
49 changed files with 70 additions and 82 deletions

View File

@@ -40,7 +40,7 @@ public:
virtual cmLocalGenerator *CreateLocalGenerator();
/** Get the documentation entry for this generator. */
virtual void GetDocumentation(cmDocumentationEntry& entry) const;
static void GetDocumentation(cmDocumentationEntry& entry);
/**
* Try to determine system infomation such as shared library