cmGlobalVisualStudio9Generator.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmGlobalVisualStudio9Generator_h
  11. #define cmGlobalVisualStudio9Generator_h
  12. #include "cmGlobalVisualStudio8Generator.h"
  13. /** \class cmGlobalVisualStudio9Generator
  14. * \brief Write a Unix makefiles.
  15. *
  16. * cmGlobalVisualStudio9Generator manages UNIX build process for a tree
  17. */
  18. class cmGlobalVisualStudio9Generator :
  19. public cmGlobalVisualStudio8Generator
  20. {
  21. public:
  22. cmGlobalVisualStudio9Generator(cmake* cm, const std::string& name,
  23. const std::string& platformName);
  24. static cmGlobalGeneratorFactory* NewFactory();
  25. /**
  26. * Try to determine system information such as shared library
  27. * extension, pthreads, byte order etc.
  28. */
  29. virtual void WriteSLNHeader(std::ostream& fout);
  30. /**
  31. * Where does this version of Visual Studio look for macros for the
  32. * current user? Returns the empty string if this version of Visual
  33. * Studio does not implement support for VB macros.
  34. */
  35. virtual std::string GetUserMacrosDirectory();
  36. /**
  37. * What is the reg key path to "vsmacros" for this version of Visual
  38. * Studio?
  39. */
  40. virtual std::string GetUserMacrosRegKeyBase();
  41. protected:
  42. virtual const char* GetIDEVersion() { return "9.0"; }
  43. private:
  44. class Factory;
  45. friend class Factory;
  46. };
  47. #endif