cmGlobalVisualStudio71Generator.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 std::string& path,
  23. const cmGeneratorTarget* t) override;
  24. void WriteProjectDepends(std::ostream& fout, const std::string& name,
  25. const std::string& path,
  26. cmGeneratorTarget const* t) override;
  27. void WriteProjectConfigurations(
  28. std::ostream& fout, const std::string& name,
  29. cmGeneratorTarget const& target, std::vector<std::string> const& configs,
  30. const std::set<std::string>& configsPartOfDefaultBuild,
  31. const std::string& platformMapping = "") override;
  32. void WriteExternalProject(
  33. std::ostream& fout, const std::string& name, const std::string& path,
  34. const char* typeGuid,
  35. const std::set<BT<std::pair<std::string, bool>>>& depends) override;
  36. // Folders are not supported by VS 7.1.
  37. bool UseFolderProperty() const override { return false; }
  38. std::string ProjectConfigurationSectionName;
  39. };
  40. #endif