summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.h
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-19 18:05:55 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-19 19:56:29 (GMT)
commit75ebebc39c93aab4d3a0c03560d2c9db82b574f4 (patch)
tree1f907d6b876986d0c73c7d9d5f34edaddb5126bf /Source/cmGlobalVisualStudio9Generator.h
parent8b62080c9db6a15649bd1673179076c096e26bec (diff)
downloadCMake-75ebebc39c93aab4d3a0c03560d2c9db82b574f4.zip
CMake-75ebebc39c93aab4d3a0c03560d2c9db82b574f4.tar.gz
CMake-75ebebc39c93aab4d3a0c03560d2c9db82b574f4.tar.bz2
VS: Remove platform specific generator files
Move the whole logic into the base class and the factory.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.h b/Source/cmGlobalVisualStudio9Generator.h
index 5da587b..f05d377 100644
--- a/Source/cmGlobalVisualStudio9Generator.h
+++ b/Source/cmGlobalVisualStudio9Generator.h
@@ -24,18 +24,9 @@ class cmGlobalVisualStudio9Generator :
public cmGlobalVisualStudio8Generator
{
public:
- cmGlobalVisualStudio9Generator();
- static cmGlobalGeneratorFactory* NewFactory() {
- return new cmGlobalGeneratorSimpleFactory
- <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. */
- static void GetDocumentation(cmDocumentationEntry& entry);
+ cmGlobalVisualStudio9Generator(const char* name,
+ const char* architectureId, const char* additionalPlatformDefinition);
+ static cmGlobalGeneratorFactory* NewFactory();
///! create the correct local generator
virtual cmLocalGenerator *CreateLocalGenerator();
@@ -62,5 +53,7 @@ public:
virtual std::string GetUserMacrosRegKeyBase();
protected:
virtual const char* GetIDEVersion() { return "9.0"; }
+private:
+ class Factory;
};
#endif