cmLocalXCodeGenerator.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. cmMakefile* mf);
  25. virtual ~cmLocalXCodeGenerator();
  26. virtual
  27. std::string GetTargetDirectory(cmGeneratorTarget const* target) const;
  28. virtual void AppendFlagEscape(std::string& flags,
  29. const std::string& rawFlag);
  30. virtual void Generate();
  31. virtual void GenerateInstallRules();
  32. virtual void ComputeObjectFilenames(
  33. std::map<cmSourceFile const*, std::string>& mapping,
  34. cmGeneratorTarget const* gt = 0);
  35. private:
  36. };
  37. #endif