cmGlobalVisualStudio71Generator.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmGlobalVisualStudio71Generator_h
  4. #define cmGlobalVisualStudio71Generator_h
  5. #include "cmGlobalVisualStudio7Generator.h"
  6. /** \class cmGlobalVisualStudio71Generator
  7. * \brief Write a Unix makefiles.
  8. *
  9. * cmGlobalVisualStudio71Generator manages UNIX build process for a tree
  10. */
  11. class cmGlobalVisualStudio71Generator : public cmGlobalVisualStudio7Generator
  12. {
  13. public:
  14. cmGlobalVisualStudio71Generator(cmake* cm,
  15. const std::string& platformName = "");
  16. protected:
  17. void WriteSLNFile(std::ostream& fout, cmLocalGenerator* root,
  18. std::vector<cmLocalGenerator*>& generators) override;
  19. virtual void WriteSolutionConfigurations(
  20. std::ostream& fout, std::vector<std::string> const& configs);
  21. void WriteProject(std::ostream& fout, const std::string& name,
  22. const char* path, const cmGeneratorTarget* t) override;
  23. void WriteProjectDepends(std::ostream& fout, const std::string& name,
  24. const char* path,
  25. cmGeneratorTarget const* t) override;
  26. void WriteProjectConfigurations(
  27. std::ostream& fout, const std::string& name,
  28. cmGeneratorTarget const& target, std::vector<std::string> const& configs,
  29. const std::set<std::string>& configsPartOfDefaultBuild,
  30. const std::string& platformMapping = "") override;
  31. void WriteExternalProject(std::ostream& fout, const std::string& name,
  32. const char* path, const char* typeGuid,
  33. const std::set<std::string>& depends) override;
  34. void WriteSLNHeader(std::ostream& fout) override;
  35. // Folders are not supported by VS 7.1.
  36. virtual bool UseFolderProperty() { return false; }
  37. std::string ProjectConfigurationSectionName;
  38. };
  39. #endif