diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-11-16 18:13:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-11-16 18:13:39 (GMT) |
commit | 8b7091a0a6a056278f17a57b96c4694b43dc7bbb (patch) | |
tree | 216ffff95de69f389a54797b6b296040a18391d3 /Source/cmXCodeObject.h | |
parent | 7a1745b84bb5c3c9325b17e3a346b9a79f227efc (diff) | |
download | CMake-8b7091a0a6a056278f17a57b96c4694b43dc7bbb.zip CMake-8b7091a0a6a056278f17a57b96c4694b43dc7bbb.tar.gz CMake-8b7091a0a6a056278f17a57b96c4694b43dc7bbb.tar.bz2 |
ENH: fixes for xcode21 and build styles and comments in the generated project
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r-- | Source/cmXCodeObject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index 4bee899..5e6a9e1 100644 --- a/Source/cmXCodeObject.h +++ b/Source/cmXCodeObject.h @@ -24,12 +24,7 @@ public: Type GetType() { return m_Type;} PBXType GetIsA() { return m_IsA;} - void SetString(const char* s) - { - m_String = "\""; - m_String += s; - m_String += "\""; - } + void SetString(const char* s); const char* GetString() { return m_String.c_str(); @@ -80,6 +75,8 @@ public: { m_cmTarget = t; } + const char* GetComment() {return m_Comment.c_str();} + bool HasComment() { return (m_Comment.size() != 0);} cmXCodeObject* GetObject(const char* name) { if(m_ObjectAttributes.count(name)) @@ -122,11 +119,14 @@ public: return m_DependLibraries; } std::vector<cmXCodeObject*> const& GetObjectList() { return m_List;} + void SetComment(const char* c) { m_Comment = c;} protected: cmTarget* m_cmTarget; Type m_Type; cmStdString m_Id; PBXType m_IsA; + int m_Version; + cmStdString m_Comment; cmStdString m_String; cmXCodeObject* m_Object; cmXCodeObject* m_PBXTargetDependency; |