2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2005-01-25 01:35:54 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2005-01-25 01:35:54 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2005-01-25 01:35:54 +03:00
|
|
|
#ifndef cmLocalXCodeGenerator_h
|
|
|
|
#define cmLocalXCodeGenerator_h
|
|
|
|
|
|
|
|
#include "cmLocalGenerator.h"
|
|
|
|
|
|
|
|
/** \class cmLocalXCodeGenerator
|
|
|
|
* \brief Write a local Xcode project
|
|
|
|
*
|
|
|
|
* cmLocalXCodeGenerator produces a LocalUnix makefile from its
|
2006-03-16 18:53:14 +03:00
|
|
|
* member Makefile.
|
2005-01-25 01:35:54 +03:00
|
|
|
*/
|
|
|
|
class cmLocalXCodeGenerator : public cmLocalGenerator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
///! Set cache only and recurse to false by default.
|
2015-05-03 17:50:34 +03:00
|
|
|
cmLocalXCodeGenerator(cmGlobalGenerator* gg, cmLocalGenerator* parent);
|
2005-01-25 01:35:54 +03:00
|
|
|
|
|
|
|
virtual ~cmLocalXCodeGenerator();
|
2007-08-01 23:25:40 +04:00
|
|
|
virtual std::string GetTargetDirectory(cmTarget const& target) const;
|
2014-02-08 09:29:59 +04:00
|
|
|
virtual void AppendFlagEscape(std::string& flags,
|
|
|
|
const std::string& rawFlag);
|
2013-12-19 08:25:29 +04:00
|
|
|
virtual void Generate();
|
|
|
|
virtual void GenerateInstallRules();
|
2014-03-11 20:37:26 +04:00
|
|
|
virtual void ComputeObjectFilenames(
|
|
|
|
std::map<cmSourceFile const*, std::string>& mapping,
|
|
|
|
cmGeneratorTarget const* gt = 0);
|
2005-01-25 01:35:54 +03:00
|
|
|
private:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|