summaryrefslogtreecommitdiff
path: root/Source/cmGlobalMSYSMakefileGenerator.h
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-19 16:42:24 +0100
committerBrad King <brad.king@kitware.com>2012-11-19 12:54:50 -0500
commit5170a8800ff4613dd41f6995e8efd43df36a40bd (patch)
tree312d4d27d35e2675a4812a363907ca795af1af4e /Source/cmGlobalMSYSMakefileGenerator.h
parent04ff866ca8a0c5f4f8712d6cfafcd192ed4cbe58 (diff)
downloadcmake-5170a8800ff4613dd41f6995e8efd43df36a40bd.tar.gz
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.
Diffstat (limited to 'Source/cmGlobalMSYSMakefileGenerator.h')
-rw-r--r--Source/cmGlobalMSYSMakefileGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalMSYSMakefileGenerator.h b/Source/cmGlobalMSYSMakefileGenerator.h
index 17decf2c92..659de11864 100644
--- a/Source/cmGlobalMSYSMakefileGenerator.h
+++ b/Source/cmGlobalMSYSMakefileGenerator.h
@@ -33,7 +33,7 @@ public:
static const char* GetActualName() {return "MSYS Makefiles";}
/** Get the documentation entry for this generator. */
- virtual void GetDocumentation(cmDocumentationEntry& entry) const;
+ static void GetDocumentation(cmDocumentationEntry& entry);
///! Create a local generator appropriate to this Global Generator
virtual cmLocalGenerator *CreateLocalGenerator();