diff options
author | Brad King <brad.king@kitware.com> | 2012-11-20 16:48:05 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-11-20 16:48:05 (GMT) |
commit | d82200df2652c913244ba09c15e9059ef1048aa2 (patch) | |
tree | f6c3a610e48f2be5a822f9d6ee77c699bf079156 /Source/cmGlobalVisualStudio9Generator.h | |
parent | 9e73b3a09536aa818793810cb083313b5750db78 (diff) | |
parent | 75ebebc39c93aab4d3a0c03560d2c9db82b574f4 (diff) | |
download | CMake-d82200df2652c913244ba09c15e9059ef1048aa2.zip CMake-d82200df2652c913244ba09c15e9059ef1048aa2.tar.gz CMake-d82200df2652c913244ba09c15e9059ef1048aa2.tar.bz2 |
Merge topic 'generator-factory'
75ebebc VS: Remove platform specific generator files
8b62080 VS: Remove EnableLanguage from platform-specific generators
5bdf011 VS: Remove GetPlatformName from platform-specific generators
8d42ab4 VS: Fix ArchitectureId of Visual Studio 10 IA64 generator
6f439b3 VS: Remove AddPlatformDefinitions from platform-specific generators
5170a88 Make cmGlobalGenerator::GetDocumentation() a static function
04ff866 Allow a GeneratorFactory handling of more than one generator
984ebc3 Search generator in cmake::ExtraGenerators before in cmake::Generators
30a6950 Add cmGlobalGeneratorFactory::GetGenerators()
e8f8414 Introduce the abstract class cmGlobalGeneratorFactory
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.h b/Source/cmGlobalVisualStudio9Generator.h index 0b0d143..f05d377 100644 --- a/Source/cmGlobalVisualStudio9Generator.h +++ b/Source/cmGlobalVisualStudio9Generator.h @@ -24,17 +24,9 @@ class cmGlobalVisualStudio9Generator : public cmGlobalVisualStudio8Generator { public: - cmGlobalVisualStudio9Generator(); - static cmGlobalGenerator* New() { - return new cmGlobalVisualStudio9Generator; } - - ///! Get the name for the generator. - virtual const char* GetName() const { - return cmGlobalVisualStudio9Generator::GetActualName();} - static const char* GetActualName() {return "Visual Studio 9 2008";} - - /** Get the documentation entry for this generator. */ - virtual void GetDocumentation(cmDocumentationEntry& entry) const; + cmGlobalVisualStudio9Generator(const char* name, + const char* architectureId, const char* additionalPlatformDefinition); + static cmGlobalGeneratorFactory* NewFactory(); ///! create the correct local generator virtual cmLocalGenerator *CreateLocalGenerator(); @@ -61,5 +53,7 @@ public: virtual std::string GetUserMacrosRegKeyBase(); protected: virtual const char* GetIDEVersion() { return "9.0"; } +private: + class Factory; }; #endif |