diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-02 20:29:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-02 20:29:32 (GMT) |
commit | 6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75 (patch) | |
tree | b25e19e52ff57671a63be2fb5f76e0dc87dd2995 /Source/cmGlobalXCodeGenerator.h | |
parent | 389333967b157e40b6846c964699a13ab5ba6c99 (diff) | |
download | CMake-6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75.zip CMake-6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75.tar.gz CMake-6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75.tar.bz2 |
ENH: add real support for Xcode21
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 350440e..faceff1 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -98,23 +98,28 @@ private: cmXCodeObject* CreateObjectReference(cmXCodeObject*); cmXCodeObject* CreateXCodeTarget(cmTarget& target, cmXCodeObject* buildPhases); + void AddConfigurations(cmXCodeObject* target, + cmTarget& cmtarget); + void AppendBuildSettingAttribute(cmXCodeObject* target, const char* attr, + const char* value); cmXCodeObject* CreateUtilityTarget(cmTarget& target); void AddDependAndLinkInformation(cmXCodeObject* target); void CreateBuildSettings(cmTarget& target, cmXCodeObject* buildSettings, std::string& fileType, std::string& productType, - std::string& projectName); - + std::string& projectName, + const char* buildType); + std::string ExtractFlag(const char* flag, std::string& flags); // delete all objects in the m_XCodeObjects vector. void ClearXCodeObjects(); void CreateXCodeObjects(cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); void OutputXCodeProject(cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); - void WriteXCodePBXProj(std::ostream& fout, - cmLocalGenerator* root, - std::vector<cmLocalGenerator*>& generators); + virtual void WriteXCodePBXProj(std::ostream& fout, + cmLocalGenerator* root, + std::vector<cmLocalGenerator*>& generators); cmXCodeObject* CreateXCodeSourceFile(cmLocalGenerator* gen, cmSourceFile* sf); void CreateXCodeTargets(cmLocalGenerator* gen, std::vector<cmXCodeObject*>&); @@ -135,9 +140,9 @@ private: void CreateReRunCMakeFile(cmLocalGenerator* root); protected: int m_XcodeVersion; -private: std::vector<cmXCodeObject*> m_XCodeObjects; cmXCodeObject* m_RootObject; +private: cmXCodeObject* m_MainGroupChildren; cmXCodeObject* m_SourcesGroupChildren; cmMakefile* m_CurrentMakefile; |