cmGlobalVisualStudio14Generator.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2014 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 cmGlobalVisualStudio14Generator_h
  11. #define cmGlobalVisualStudio14Generator_h
  12. #include "cmGlobalVisualStudio12Generator.h"
  13. /** \class cmGlobalVisualStudio14Generator */
  14. class cmGlobalVisualStudio14Generator:
  15. public cmGlobalVisualStudio12Generator
  16. {
  17. public:
  18. cmGlobalVisualStudio14Generator(const std::string& name,
  19. const std::string& platformName,
  20. const std::string& additionalPlatformDefinition);
  21. static cmGlobalGeneratorFactory* NewFactory();
  22. virtual bool MatchesGeneratorName(const std::string& name) const;
  23. virtual void WriteSLNHeader(std::ostream& fout);
  24. ///! create the correct local generator
  25. virtual cmLocalGenerator *CreateLocalGenerator();
  26. /** TODO: VS 14 user macro support. */
  27. virtual std::string GetUserMacrosDirectory() { return ""; }
  28. virtual const char* GetToolsVersion() { return "14.0"; }
  29. protected:
  30. virtual const char* GetIDEVersion() { return "14.0"; }
  31. private:
  32. class Factory;
  33. };
  34. #endif