packaging: Initial packaging
[platform/upstream/cmake.git] / Source / cmGlobalVisualStudio12Generator.h
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
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 cmGlobalVisualStudio12Generator_h
13 #define cmGlobalVisualStudio12Generator_h
14
15 #include "cmGlobalVisualStudio11Generator.h"
16
17
18 /** \class cmGlobalVisualStudio12Generator  */
19 class cmGlobalVisualStudio12Generator:
20   public cmGlobalVisualStudio11Generator
21 {
22 public:
23   cmGlobalVisualStudio12Generator(const char* name,
24     const char* platformName, const char* additionalPlatformDefinition);
25   static cmGlobalGeneratorFactory* NewFactory();
26
27   virtual void WriteSLNHeader(std::ostream& fout);
28
29   ///! create the correct local generator
30   virtual cmLocalGenerator *CreateLocalGenerator();
31
32   /** TODO: VS 12 user macro support. */
33   virtual std::string GetUserMacrosDirectory() { return ""; }
34
35   //in Visual Studio 2013 they detached the MSBuild tools version
36   //from the .Net Framework version and instead made it have it's own
37   //version number
38   virtual const char* GetToolsVersion() { return "12.0"; }
39 protected:
40   virtual const char* GetIDEVersion() { return "12.0"; }
41 private:
42   class Factory;
43 };
44 #endif