packaging: Initial packaging
[platform/upstream/cmake.git] / Source / cmGlobalVisualStudio11Generator.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 cmGlobalVisualStudio11Generator_h
13 #define cmGlobalVisualStudio11Generator_h
14
15 #include "cmGlobalVisualStudio10Generator.h"
16
17
18 /** \class cmGlobalVisualStudio11Generator  */
19 class cmGlobalVisualStudio11Generator:
20   public cmGlobalVisualStudio10Generator
21 {
22 public:
23   cmGlobalVisualStudio11Generator(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 11 user macro support. */
33   virtual std::string GetUserMacrosDirectory() { return ""; }
34 protected:
35   virtual const char* GetIDEVersion() { return "11.0"; }
36   bool UseFolderProperty();
37   static std::set<std::string> GetInstalledWindowsCESDKs();
38 private:
39   class Factory;
40   friend class Factory;
41 };
42 #endif