cmGlobalVisualStudio71Generator.h 1.8 KB

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