cmLocalVisualStudio10Generator.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 cmLocalVisualStudio10Generator_h
  11. #define cmLocalVisualStudio10Generator_h
  12. #include "cmLocalVisualStudio7Generator.h"
  13. /** \class cmLocalVisualStudio10Generator
  14. * \brief Write Visual Studio 10 project files.
  15. *
  16. * cmLocalVisualStudio10Generator produces a Visual Studio 10 project
  17. * file for each target in its directory.
  18. */
  19. class cmLocalVisualStudio10Generator : public cmLocalVisualStudio7Generator
  20. {
  21. public:
  22. ///! Set cache only and recurse to false by default.
  23. cmLocalVisualStudio10Generator(cmGlobalGenerator* gg,
  24. cmLocalGenerator* parent,
  25. cmState::Snapshot snapshot);
  26. virtual ~cmLocalVisualStudio10Generator();
  27. /**
  28. * Generate the makefile for this directory.
  29. */
  30. virtual void Generate();
  31. virtual void ReadAndStoreExternalGUID(const std::string& name,
  32. const char* path);
  33. protected:
  34. virtual const char* ReportErrorLabel() const;
  35. virtual bool CustomCommandUseLocal() const { return true; }
  36. private:
  37. };
  38. #endif