summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-02 20:29:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-02 20:29:32 (GMT)
commit6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75 (patch)
treeb25e19e52ff57671a63be2fb5f76e0dc87dd2995 /Source/cmXCodeObject.h
parent389333967b157e40b6846c964699a13ab5ba6c99 (diff)
downloadCMake-6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75.zip
CMake-6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75.tar.gz
CMake-6b4c142c7dfe60e7e9b5cccfc4e44ae808b54b75.tar.bz2
ENH: add real support for Xcode21
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r--Source/cmXCodeObject.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h
index bd9d6e4..f759e7f 100644
--- a/Source/cmXCodeObject.h
+++ b/Source/cmXCodeObject.h
@@ -15,12 +15,15 @@ public:
PBXShellScriptBuildPhase, PBXResourcesBuildPhase,
PBXApplicationReference, PBXExecutableFileReference,
PBXLibraryReference, PBXToolTarget, PBXLibraryTarget,
- PBXAggregateTarget,
+ PBXAggregateTarget,XCBuildConfiguration,XCConfigurationList,
None
};
static const char* PBXTypeNames[];
~cmXCodeObject();
cmXCodeObject(PBXType ptype, Type type);
+ Type GetType() { return m_Type;}
+ PBXType GetIsA() { return m_IsA;}
+
void SetString(const char* s)
{
m_String = "\"";
@@ -62,6 +65,8 @@ public:
}
static void Indent(int level, std::ostream& out);
void Print(std::ostream& out);
+ virtual void PrintComment(std::ostream&) {};
+
static void PrintList(std::vector<cmXCodeObject*> const&, std::ostream& out);
const char* GetId()
{
@@ -116,7 +121,8 @@ public:
{
return m_DependLibraries;
}
-private:
+ std::vector<cmXCodeObject*> const& GetObjectList() { return m_List;}
+protected:
cmTarget* m_cmTarget;
Type m_Type;
cmStdString m_Id;