summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-01-25 20:26:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-01-25 20:26:57 (GMT)
commit96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73 (patch)
tree4fd722a406a18346ac4bb90e9fb66b1e7503357c /Source/cmGlobalXCodeGenerator.h
parente07af61e51618d60a32aedb268fdc0854624f0dd (diff)
downloadCMake-96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73.zip
CMake-96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73.tar.gz
CMake-96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73.tar.bz2
ENH: add initial non-working XCode stuff
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 543fb6f..cf40def 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -64,7 +64,12 @@ public:
virtual void Generate();
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* CreateString(const char* s);
+
+ // delete all objects in the m_XCodeObjects vector.
void ClearXCodeObjects();
void CreateXCodeObjects(cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& generators);