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.
This commit is contained in:
Brad King
2008-09-02 10:27:15 -04:00
parent 6eea886474
commit 698b8044a6
3 changed files with 37 additions and 41 deletions
+2
View File
@@ -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;