diff options
author | Brad King <brad.king@kitware.com> | 2003-07-08 01:52:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-08 01:52:10 (GMT) |
commit | e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1 (patch) | |
tree | 1a6c2c3b22eb90c0dfd647e08b05aea8f603f439 /Source/cmGlobalNMakeMakefileGenerator.h | |
parent | cbb1de923a3fb977f3910d4054191cdffc478134 (diff) | |
download | CMake-e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1.zip CMake-e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1.tar.gz CMake-e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1.tar.bz2 |
ENH: Registered global generators are now kept in a table in the cmake instance. Added support for documentation with a Generators section.
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.h')
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.h b/Source/cmGlobalNMakeMakefileGenerator.h index 1c233c6..4647c2d 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.h +++ b/Source/cmGlobalNMakeMakefileGenerator.h @@ -28,11 +28,15 @@ class cmGlobalNMakeMakefileGenerator : public cmGlobalUnixMakefileGenerator { public: cmGlobalNMakeMakefileGenerator(); + static cmGlobalGenerator* New() { return new cmGlobalNMakeMakefileGenerator; } ///! Get the name for the generator. - virtual const char* GetName() { + virtual const char* GetName() const { return cmGlobalNMakeMakefileGenerator::GetActualName();} static const char* GetActualName() {return "NMake Makefiles";} + /** Get the documentation entry for this generator. */ + virtual void GetDocumentation(cmDocumentationEntry& entry) const; + ///! Create a local generator appropriate to this Global Generator virtual cmLocalGenerator *CreateLocalGenerator(); |