diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-17 20:35:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-17 20:35:44 (GMT) |
commit | 1568f73825032eb5c6e777c7354dd039e74b1ae9 (patch) | |
tree | 26613ae87d8d526f5a56843dd2e05426477fefb8 /Source/cmGlobalXCodeGenerator.h | |
parent | eea7221f319c65e59053d6540095c00ad88ec44f (diff) | |
download | CMake-1568f73825032eb5c6e777c7354dd039e74b1ae9.zip CMake-1568f73825032eb5c6e777c7354dd039e74b1ae9.tar.gz CMake-1568f73825032eb5c6e777c7354dd039e74b1ae9.tar.bz2 |
ENH: add source groups xcode
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 6cf7d2d..5588d1f 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -22,6 +22,8 @@ #include "cmCustomCommand.h" class cmTarget; class cmSourceFile; +class cmSourceGroup; + /** \class cmGlobalXCodeGenerator * \brief Write a Unix makefiles. @@ -69,6 +71,11 @@ public: virtual void Generate(); private: + cmXCodeObject* CreateOrGetPBXGroup(cmTarget& cmtarget, + cmSourceGroup* sg); + void CreateGroups(cmLocalGenerator* root, + std::vector<cmLocalGenerator*>& + generators); void SetCurrentLocalGenerator(cmLocalGenerator*); std::string XCodeEscapePath(const char* p); std::string ConvertToRelativeForXCode(const char* p); @@ -133,20 +140,20 @@ private: cmXCodeObject* m_RootObject; cmXCodeObject* m_MainGroupChildren; cmXCodeObject* m_SourcesGroupChildren; - cmXCodeObject* m_ExternalGroupChildren; cmMakefile* m_CurrentMakefile; - std::string m_LibraryOutputPath; - std::string m_ExecutableOutputPath; cmLocalGenerator* m_CurrentLocalGenerator; - std::set<cmStdString> m_TargetDoneSet; - bool m_DoneAllBuild; - bool m_DoneXCodeHack; std::string m_CurrentReRunCMakeMakefile; std::string m_CurrentXCodeHackMakefile; std::string m_CurrentProject; std::string m_OutputDir; + std::string m_LibraryOutputPath; + std::string m_ExecutableOutputPath; + std::set<cmStdString> m_TargetDoneSet; std::vector<std::string> m_CurrentOutputDirectoryComponents; std::vector<std::string> m_ProjectOutputDirectoryComponents; + std::map<cmSourceFile*, cmXCodeObject* > m_GroupMap; + std::map<cmStdString, cmXCodeObject* > m_GroupNameMap; + std::map<cmStdString, cmXCodeObject* > m_TargetGroup; }; #endif |