diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-01-25 20:26:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-01-25 20:26:57 (GMT) |
commit | 96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73 (patch) | |
tree | 4fd722a406a18346ac4bb90e9fb66b1e7503357c /Source/cmXCodeObject.h | |
parent | e07af61e51618d60a32aedb268fdc0854624f0dd (diff) | |
download | CMake-96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73.zip CMake-96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73.tar.gz CMake-96daa417cb8ee1dffd3f5e17e7b3c76df31d5b73.tar.bz2 |
ENH: add initial non-working XCode stuff
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r-- | Source/cmXCodeObject.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index 819e3a5..a3ca650 100644 --- a/Source/cmXCodeObject.h +++ b/Source/cmXCodeObject.h @@ -6,7 +6,7 @@ class cmXCodeObject { public: - enum Type { OBJECT_LIST, ATTRIBUTE_GROUP, OBJECT_REF, OBJECT }; + enum Type { OBJECT_LIST, STRING, ATTRIBUTE_GROUP, OBJECT_REF, OBJECT }; enum PBXType { PBXGroup, PBXBuildStyle, PBXProject, PBXHeadersBuildPhase, PBXSourcesBuildPhase, PBXFrameworksBuildPhase, PBXNativeTarget, PBXFileReference, PBXBuildFile, PBXContainerItemProxy, PBXTargetDependency, @@ -17,10 +17,11 @@ public: static const char* PBXTypeNames[]; cmXCodeObject(PBXType ptype, Type type); - void AddAttribute(const char* name, const char* value) + void SetString(const char* s) { - m_StringAttributes[name] = value; + m_String = s; } + void AddAttribute(const char* name, cmXCodeObject* value) { m_ObjectAttributes[name] = value; @@ -45,9 +46,9 @@ private: Type m_Type; cmStdString m_Id; PBXType m_IsA; + cmStdString m_String; cmXCodeObject* m_Object; std::vector<cmXCodeObject*> m_List; std::map<cmStdString, cmXCodeObject*> m_ObjectAttributes; - std::map<cmStdString, cmStdString> m_StringAttributes; }; #endif |