cmGlobalVisualStudio9Generator.h 1.4 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 cmGlobalVisualStudio9Generator_h
  4. #define cmGlobalVisualStudio9Generator_h
  5. #include "cmGlobalVisualStudio8Generator.h"
  6. /** \class cmGlobalVisualStudio9Generator
  7. * \brief Write a Unix makefiles.
  8. *
  9. * cmGlobalVisualStudio9Generator manages UNIX build process for a tree
  10. */
  11. class cmGlobalVisualStudio9Generator : public cmGlobalVisualStudio8Generator
  12. {
  13. public:
  14. cmGlobalVisualStudio9Generator(cmake* cm, const std::string& name,
  15. const std::string& platformName);
  16. static cmGlobalGeneratorFactory* NewFactory();
  17. /**
  18. * Try to determine system information such as shared library
  19. * extension, pthreads, byte order etc.
  20. */
  21. void WriteSLNHeader(std::ostream& fout) override;
  22. /**
  23. * Where does this version of Visual Studio look for macros for the
  24. * current user? Returns the empty string if this version of Visual
  25. * Studio does not implement support for VB macros.
  26. */
  27. std::string GetUserMacrosDirectory() override;
  28. /**
  29. * What is the reg key path to "vsmacros" for this version of Visual
  30. * Studio?
  31. */
  32. std::string GetUserMacrosRegKeyBase() override;
  33. protected:
  34. const char* GetIDEVersion() override { return "9.0"; }
  35. private:
  36. class Factory;
  37. friend class Factory;
  38. };
  39. #endif