cmGlobalVisualStudio9Generator.h 1.2 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 <memory>
  5. #include <string>
  6. #include "cmGlobalVisualStudio8Generator.h"
  7. class cmGlobalGeneratorFactory;
  8. class cmake;
  9. /** \class cmGlobalVisualStudio9Generator
  10. * \brief Write a Unix makefiles.
  11. *
  12. * cmGlobalVisualStudio9Generator manages UNIX build process for a tree
  13. */
  14. class cmGlobalVisualStudio9Generator : public cmGlobalVisualStudio8Generator
  15. {
  16. public:
  17. static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory();
  18. /**
  19. * Where does this version of Visual Studio look for macros for the
  20. * current user? Returns the empty string if this version of Visual
  21. * Studio does not implement support for VB macros.
  22. */
  23. std::string GetUserMacrosDirectory() override;
  24. /**
  25. * What is the reg key path to "vsmacros" for this version of Visual
  26. * Studio?
  27. */
  28. std::string GetUserMacrosRegKeyBase() override;
  29. protected:
  30. cmGlobalVisualStudio9Generator(cmake* cm, const std::string& name,
  31. std::string const& platformInGeneratorName);
  32. private:
  33. class Factory;
  34. friend class Factory;
  35. };