cmLocalXCodeGenerator.h 1.02 KB
Newer Older
1 2
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
Bill Hoffman's avatar
Bill Hoffman committed
3 4 5 6 7 8 9 10 11
#ifndef cmLocalXCodeGenerator_h
#define cmLocalXCodeGenerator_h

#include "cmLocalGenerator.h"

/** \class cmLocalXCodeGenerator
 * \brief Write a local Xcode project
 *
 * cmLocalXCodeGenerator produces a LocalUnix makefile from its
12
 * member Makefile.
Bill Hoffman's avatar
Bill Hoffman committed
13 14 15 16 17
 */
class cmLocalXCodeGenerator : public cmLocalGenerator
{
public:
  ///! Set cache only and recurse to false by default.
18
  cmLocalXCodeGenerator(cmGlobalGenerator* gg, cmMakefile* mf);
Bill Hoffman's avatar
Bill Hoffman committed
19 20

  virtual ~cmLocalXCodeGenerator();
21 22
  virtual std::string GetTargetDirectory(
    cmGeneratorTarget const* target) const;
23 24
  virtual void AppendFlagEscape(std::string& flags,
                                const std::string& rawFlag);
25 26
  virtual void Generate();
  virtual void GenerateInstallRules();
27
  virtual void ComputeObjectFilenames(
28 29
    std::map<cmSourceFile const*, std::string>& mapping,
    cmGeneratorTarget const* gt = 0);
Bill Hoffman's avatar
Bill Hoffman committed
30

31
private:
Bill Hoffman's avatar
Bill Hoffman committed
32 33 34
};

#endif