cmLocalVisualStudio10Generator.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. cmState::Snapshot snapshot);
  25. virtual ~cmLocalVisualStudio10Generator();
  26. /**
  27. * Generate the makefile for this directory.
  28. */
  29. virtual void Generate();
  30. virtual void ReadAndStoreExternalGUID(const std::string& name,
  31. const char* path);
  32. protected:
  33. virtual const char* ReportErrorLabel() const;
  34. virtual bool CustomCommandUseLocal() const { return true; }
  35. private:
  36. };
  37. #endif