diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-01-27 21:11:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-01-27 21:11:44 (GMT) |
commit | 97a51d2172fec2d9d33713322bca96647bc94515 (patch) | |
tree | 8533af745e8f42b90a31cc5a0ed7bcf23082dfad /Source/cmGlobalXCodeGenerator.h | |
parent | c22cc421e0344074dd4db2f6003ede96a4df7160 (diff) | |
download | CMake-97a51d2172fec2d9d33713322bca96647bc94515.zip CMake-97a51d2172fec2d9d33713322bca96647bc94515.tar.gz CMake-97a51d2172fec2d9d33713322bca96647bc94515.tar.bz2 |
ENH: add more xcode stuff
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index cf40def..9e477b5 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -20,6 +20,7 @@ #include "cmGlobalGenerator.h" #include "cmXCodeObject.h" class cmTarget; +class cmSourceFile; /** \class cmGlobalXCodeGenerator * \brief Write a Unix makefiles. @@ -66,7 +67,8 @@ public: private: // create cmXCodeObject from these functions so that memory can be managed // correctly. All objects created are stored in m_XCodeObjects. - cmXCodeObject* CreateObject(cmXCodeObject::PBXType ptype, cmXCodeObject::Type type); + cmXCodeObject* CreateObject(cmXCodeObject::PBXType ptype); + cmXCodeObject* CreateObject(cmXCodeObject::Type type); cmXCodeObject* CreateString(const char* s); // delete all objects in the m_XCodeObjects vector. @@ -78,6 +80,8 @@ private: void WriteXCodePBXProj(std::ostream& fout, cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); + cmXCodeObject* CreateXCodeSourceFile(cmLocalGenerator* gen, cmSourceFile* sf); + void CreateXCodeTargets(cmLocalGenerator* gen, std::vector<cmXCodeObject*>&); std::vector<cmXCodeObject*> m_XCodeObjects; cmXCodeObject* m_RootObject; |