cmGlobalVisualStudio11Generator.h 1.6 KB

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