mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
Xcode: PrintComment will prepend a whitespace itself before the comment
This commit is contained in:
parent
4bd2544b25
commit
6e8952c193
@ -31,7 +31,7 @@ void cmXCode21Object::PrintComment(std::ostream& out)
|
||||
cmSystemTools::ReplaceString(this->Comment, "\"", "");
|
||||
}
|
||||
}
|
||||
out << "/* ";
|
||||
out << " /* ";
|
||||
out << this->Comment;
|
||||
out << " */";
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ void cmXCodeObject::Print(std::ostream& out)
|
||||
separator = " ";
|
||||
indentFactor = 0;
|
||||
}
|
||||
out << this->Id << " ";
|
||||
out << this->Id;
|
||||
if(!(this->IsA == PBXGroup && this->Comment.size() == 0))
|
||||
{
|
||||
this->PrintComment(out);
|
||||
@ -129,7 +129,7 @@ void cmXCodeObject::Print(std::ostream& out)
|
||||
for(unsigned int k = 0; k < i->second->List.size(); k++)
|
||||
{
|
||||
cmXCodeObject::Indent(4*indentFactor, out);
|
||||
out << i->second->List[k]->Id << " ";
|
||||
out << i->second->List[k]->Id;
|
||||
i->second->List[k]->PrintComment(out);
|
||||
out << "," << separator;
|
||||
}
|
||||
@ -192,7 +192,6 @@ void cmXCodeObject::Print(std::ostream& out)
|
||||
out << " = " << object->Object->Id;
|
||||
if(object->Object->HasComment() && i->first != "remoteGlobalIDString")
|
||||
{
|
||||
out << " ";
|
||||
object->Object->PrintComment(out);
|
||||
}
|
||||
out << ";" << separator;
|
||||
|
Loading…
Reference in New Issue
Block a user