diff options
author | Brad King <brad.king@kitware.com> | 2008-09-02 14:27:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-09-02 14:27:15 (GMT) |
commit | 698b8044a627293dd6a453c2fa10284000b2f5b1 (patch) | |
tree | d285499547a628d8861dc91bec4e4b9520f450c1 /Source/cmXCodeObject.h | |
parent | 6eea886474541c7cee58a24a6432d12e598f3f28 (diff) | |
download | CMake-698b8044a627293dd6a453c2fa10284000b2f5b1.zip CMake-698b8044a627293dd6a453c2fa10284000b2f5b1.tar.gz CMake-698b8044a627293dd6a453c2fa10284000b2f5b1.tar.bz2 |
ENH: Simplify string attributes in Xcode generator
This change cleans up the implementation of cmXCodeObject to avoid
un-escaping and re-escaping string values. There is no need to store
the string in escaped form. It can be escaped once when it is printed
out to the generated project file.
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r-- | Source/cmXCodeObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index eecb0e0..303fbf5 100644 --- a/Source/cmXCodeObject.h +++ b/Source/cmXCodeObject.h @@ -147,6 +147,8 @@ public: std::vector<cmXCodeObject*> const& GetObjectList() { return this->List;} void SetComment(const char* c) { this->Comment = c;} protected: + void PrintString(std::ostream& os) const; + cmTarget* Target; Type TypeValue; cmStdString Id; |