diff options
author | David Cole <david.cole@kitware.com> | 2007-08-14 15:45:15 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2007-08-14 15:45:15 (GMT) |
commit | fa61182de8a6ce967420077417b5253abdba2d56 (patch) | |
tree | cc61c3f8b9d2d03ed8716d1e5590f0ad9e3f5b81 /Source/cmGlobalXCodeGenerator.h | |
parent | f13c3eef83af130396d6c933afcbac672afe37a3 (diff) | |
download | CMake-fa61182de8a6ce967420077417b5253abdba2d56.zip CMake-fa61182de8a6ce967420077417b5253abdba2d56.tar.gz CMake-fa61182de8a6ce967420077417b5253abdba2d56.tar.bz2 |
ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 306b7ea..aa4f3be 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -65,9 +65,6 @@ public: const char* config, bool ignoreErrors, bool fast); - - // add extra build phases for a framework target - void AddFrameworkPhases(cmTarget*, cmXCodeObject* buildPhases); /** * Generate the all required files for building this project/tree. This @@ -101,9 +98,11 @@ private: void CreateCustomCommands(cmXCodeObject* buildPhases, cmXCodeObject* sourceBuildPhase, cmXCodeObject* headerBuildPhase, + cmXCodeObject* resourceBuildPhase, + std::vector<cmXCodeObject*> contentBuildPhases, cmXCodeObject* frameworkBuildPhase, cmTarget& cmtarget); - + void AddCommandsToBuildPhase(cmXCodeObject* buildphase, cmTarget& target, std::vector<cmCustomCommand> @@ -184,6 +183,7 @@ protected: private: cmXCodeObject* MainGroupChildren; cmXCodeObject* SourcesGroupChildren; + cmXCodeObject* ResourcesGroupChildren; cmMakefile* CurrentMakefile; cmLocalGenerator* CurrentLocalGenerator; std::vector<std::string> CurrentConfigurationTypes; @@ -193,9 +193,10 @@ private: std::set<cmStdString> TargetDoneSet; std::vector<std::string> CurrentOutputDirectoryComponents; std::vector<std::string> ProjectOutputDirectoryComponents; - std::map<cmSourceFile*, cmXCodeObject* > GroupMap; + std::map<cmStdString, cmXCodeObject* > GroupMap; std::map<cmStdString, cmXCodeObject* > GroupNameMap; std::map<cmStdString, cmXCodeObject* > TargetGroup; + std::map<cmStdString, cmXCodeObject* > FileRefs; std::vector<std::string> Architectures; }; |