cmGlobalVisualStudio11Generator.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 AddPlatformDefinitions(cmMakefile* mf);
  26. virtual void WriteSLNHeader(std::ostream& fout);
  27. /** Get the documentation entry for this generator. */
  28. virtual void GetDocumentation(cmDocumentationEntry& entry) const;
  29. ///! create the correct local generator
  30. virtual cmLocalGenerator *CreateLocalGenerator();
  31. /** TODO: VS 11 user macro support. */
  32. virtual std::string GetUserMacrosDirectory() { return ""; }
  33. protected:
  34. virtual const char* GetIDEVersion() { return "11.0"; }
  35. };
  36. #endif