summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio11Generator.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/cmGlobalVisualStudio11Generator.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/cmGlobalVisualStudio11Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio11Generator.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/Source/cmGlobalVisualStudio11Generator.h b/Source/cmGlobalVisualStudio11Generator.h
index 0af2737..8898c5d 100644
--- a/Source/cmGlobalVisualStudio11Generator.h
+++ b/Source/cmGlobalVisualStudio11Generator.h
@@ -20,21 +20,12 @@ class cmGlobalVisualStudio11Generator:
public cmGlobalVisualStudio10Generator
{
public:
- cmGlobalVisualStudio11Generator();
- static cmGlobalGeneratorFactory* NewFactory() {
- return new cmGlobalGeneratorSimpleFactory
- <cmGlobalVisualStudio11Generator>(); }
-
- ///! Get the name for the generator.
- virtual const char* GetName() const {
- return cmGlobalVisualStudio11Generator::GetActualName();}
- static const char* GetActualName() {return "Visual Studio 11";}
+ cmGlobalVisualStudio11Generator(const char* name,
+ const char* architectureId, const char* additionalPlatformDefinition);
+ static cmGlobalGeneratorFactory* NewFactory();
virtual void WriteSLNHeader(std::ostream& fout);
- /** Get the documentation entry for this generator. */
- static void GetDocumentation(cmDocumentationEntry& entry);
-
///! create the correct local generator
virtual cmLocalGenerator *CreateLocalGenerator();
@@ -42,5 +33,7 @@ public:
virtual std::string GetUserMacrosDirectory() { return ""; }
protected:
virtual const char* GetIDEVersion() { return "11.0"; }
+private:
+ class Factory;
};
#endif