1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
8 This software is distributed WITHOUT ANY WARRANTY; without even the
9 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License for more information.
11 ============================================================================*/
12 #ifndef cmGlobalVisualStudio11Generator_h
13 #define cmGlobalVisualStudio11Generator_h
15 #include "cmGlobalVisualStudio10Generator.h"
18 /** \class cmGlobalVisualStudio11Generator */
19 class cmGlobalVisualStudio11Generator:
20 public cmGlobalVisualStudio10Generator
23 cmGlobalVisualStudio11Generator();
24 static cmGlobalGenerator* New() {
25 return new cmGlobalVisualStudio11Generator; }
27 ///! Get the name for the generator.
28 virtual const char* GetName() const {
29 return cmGlobalVisualStudio11Generator::GetActualName();}
30 static const char* GetActualName() {return "Visual Studio 11";}
31 virtual void AddPlatformDefinitions(cmMakefile* mf);
33 virtual void WriteSLNHeader(std::ostream& fout);
35 /** Get the documentation entry for this generator. */
36 virtual void GetDocumentation(cmDocumentationEntry& entry) const;
38 ///! create the correct local generator
39 virtual cmLocalGenerator *CreateLocalGenerator();
41 /** TODO: VS 11 user macro support. */
42 virtual std::string GetUserMacrosDirectory() { return ""; }
44 virtual const char* GetIDEVersion() { return "11.0"; }