summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-08 01:52:10 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-08 01:52:10 (GMT)
commite5ed57ec18e1cd1d460bd77391db15a5d4afdcc1 (patch)
tree1a6c2c3b22eb90c0dfd647e08b05aea8f603f439 /Source/cmGlobalVisualStudio7Generator.h
parentcbb1de923a3fb977f3910d4054191cdffc478134 (diff)
downloadCMake-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/cmGlobalVisualStudio7Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h
index c703bea..a268a44 100644
--- a/Source/cmGlobalVisualStudio7Generator.h
+++ b/Source/cmGlobalVisualStudio7Generator.h
@@ -30,14 +30,19 @@ class cmGlobalVisualStudio7Generator : public cmGlobalGenerator
{
public:
cmGlobalVisualStudio7Generator();
+ static cmGlobalGenerator* New() { return new cmGlobalVisualStudio7Generator; }
+
///! Get the name for the generator.
- virtual const char* GetName() {
+ virtual const char* GetName() const {
return cmGlobalVisualStudio7Generator::GetActualName();}
static const char* GetActualName() {return "Visual Studio 7";}
///! Create a local generator appropriate to this Global Generator
virtual cmLocalGenerator *CreateLocalGenerator();
+ /** Get the documentation entry for this generator. */
+ virtual void GetDocumentation(cmDocumentationEntry& entry) const;
+
/**
* Try to determine system infomation such as shared library
* extension, pthreads, byte order etc.