diff options
author | Gusts Kaksis <gusts.kaksis@sonarworks.com> | 2020-07-23 10:13:57 (GMT) |
---|---|---|
committer | Gusts Kaksis <gusts.kaksis@sonarworks.com> | 2020-08-28 18:20:38 (GMT) |
commit | 7b3d8411a2c051c98858dbc91cb51513ecc8242d (patch) | |
tree | 465d690757bcb85074f4b497666817697eea19b7 /Source/cmXCode21Object.cxx | |
parent | c268e26d334186eb92d898fa60b0c1c705b08600 (diff) | |
download | CMake-7b3d8411a2c051c98858dbc91cb51513ecc8242d.zip CMake-7b3d8411a2c051c98858dbc91cb51513ecc8242d.tar.gz CMake-7b3d8411a2c051c98858dbc91cb51513ecc8242d.tar.bz2 |
Xcode: Refactor build setting append code and attribute getter naming
Support both STRING and OBJECT_LIST types in build setting attributes and make it possible to mix them
Diffstat (limited to 'Source/cmXCode21Object.cxx')
-rw-r--r-- | Source/cmXCode21Object.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCode21Object.cxx b/Source/cmXCode21Object.cxx index 6b133a9..1cf9a95 100644 --- a/Source/cmXCode21Object.cxx +++ b/Source/cmXCode21Object.cxx @@ -16,7 +16,7 @@ cmXCode21Object::cmXCode21Object(PBXType ptype, Type type) void cmXCode21Object::PrintComment(std::ostream& out) { if (this->Comment.empty()) { - cmXCodeObject* n = this->GetObject("name"); + cmXCodeObject* n = this->GetAttribute("name"); if (n) { this->Comment = n->GetString(); cmSystemTools::ReplaceString(this->Comment, "\"", ""); |