cmLocalXCodeGenerator.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 cmLocalXCodeGenerator_h
  11. #define cmLocalXCodeGenerator_h
  12. #include "cmLocalGenerator.h"
  13. /** \class cmLocalXCodeGenerator
  14. * \brief Write a local Xcode project
  15. *
  16. * cmLocalXCodeGenerator produces a LocalUnix makefile from its
  17. * member Makefile.
  18. */
  19. class cmLocalXCodeGenerator : public cmLocalGenerator
  20. {
  21. public:
  22. ///! Set cache only and recurse to false by default.
  23. cmLocalXCodeGenerator(cmGlobalGenerator* gg,
  24. cmState::Snapshot snapshot);
  25. virtual ~cmLocalXCodeGenerator();
  26. virtual std::string GetTargetDirectory(cmTarget const& target) const;
  27. virtual void AppendFlagEscape(std::string& flags,
  28. const std::string& rawFlag);
  29. virtual void Generate();
  30. virtual void GenerateInstallRules();
  31. virtual void ComputeObjectFilenames(
  32. std::map<cmSourceFile const*, std::string>& mapping,
  33. cmGeneratorTarget const* gt = 0);
  34. private:
  35. };
  36. #endif