cmGlobalVisualStudio12Generator.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 cmGlobalVisualStudio12Generator_h
  11. #define cmGlobalVisualStudio12Generator_h
  12. #include "cmGlobalVisualStudio11Generator.h"
  13. /** \class cmGlobalVisualStudio12Generator */
  14. class cmGlobalVisualStudio12Generator:
  15. public cmGlobalVisualStudio11Generator
  16. {
  17. public:
  18. cmGlobalVisualStudio12Generator(const char* name,
  19. const char* platformName, const char* additionalPlatformDefinition);
  20. static cmGlobalGeneratorFactory* NewFactory();
  21. virtual void WriteSLNHeader(std::ostream& fout);
  22. ///! create the correct local generator
  23. virtual cmLocalGenerator *CreateLocalGenerator();
  24. /** TODO: VS 12 user macro support. */
  25. virtual std::string GetUserMacrosDirectory() { return ""; }
  26. protected:
  27. virtual const char* GetIDEVersion() { return "12.0"; }
  28. bool UseFolderProperty();
  29. private:
  30. class Factory;
  31. };
  32. #endif