summaryrefslogtreecommitdiff
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 30ade96..de150ee 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -16,13 +16,13 @@
//----------------------------------------------------------------------------
const char* cmXCodeObject::PBXTypeNames[] = {
- "PBXGroup", "PBXBuildStyle", "PBXProject", "PBXHeadersBuildPhase",
+ "PBXGroup", "PBXBuildStyle", "PBXProject", "PBXHeadersBuildPhase",
"PBXSourcesBuildPhase", "PBXFrameworksBuildPhase", "PBXNativeTarget",
- "PBXFileReference", "PBXBuildFile", "PBXContainerItemProxy",
- "PBXTargetDependency", "PBXShellScriptBuildPhase",
+ "PBXFileReference", "PBXBuildFile", "PBXContainerItemProxy",
+ "PBXTargetDependency", "PBXShellScriptBuildPhase",
"PBXResourcesBuildPhase", "PBXApplicationReference",
"PBXExecutableFileReference", "PBXLibraryReference", "PBXToolTarget",
- "PBXLibraryTarget", "PBXAggregateTarget", "XCBuildConfiguration",
+ "PBXLibraryTarget", "PBXAggregateTarget", "XCBuildConfiguration",
"XCConfigurationList",
"PBXCopyFilesBuildPhase",
"None"
@@ -92,7 +92,7 @@ void cmXCodeObject::Print(std::ostream& out)
{
std::string separator = "\n";
int indentFactor = 1;
- if(this->Version > 15
+ if(this->Version > 15
&& (this->IsA == PBXFileReference || this->IsA == PBXBuildFile))
{
separator = " ";
@@ -112,12 +112,12 @@ void cmXCodeObject::Print(std::ostream& out)
std::map<cmStdString, cmXCodeObject*>::iterator i;
cmXCodeObject::Indent(3*indentFactor, out);
out << "isa = " << PBXTypeNames[this->IsA] << ";" << separator;
- for(i = this->ObjectAttributes.begin();
+ for(i = this->ObjectAttributes.begin();
i != this->ObjectAttributes.end(); ++i)
- {
+ {
cmXCodeObject* object = i->second;
if(i->first != "isa")
- {
+ {
cmXCodeObject::Indent(3*indentFactor, out);
}
else
@@ -133,7 +133,7 @@ void cmXCodeObject::Print(std::ostream& out)
out << i->second->List[k]->Id << " ";
i->second->List[k]->PrintComment(out);
out << "," << separator;
- }
+ }
cmXCodeObject::Indent(3*indentFactor, out);
out << ");" << separator;
}
@@ -141,7 +141,7 @@ void cmXCodeObject::Print(std::ostream& out)
{
std::map<cmStdString, cmXCodeObject*>::iterator j;
out << i->first << " = {" << separator;
- for(j = object->ObjectAttributes.begin(); j !=
+ for(j = object->ObjectAttributes.begin(); j !=
object->ObjectAttributes.end(); ++j)
{
cmXCodeObject::Indent(4 *indentFactor, out);
@@ -209,11 +209,11 @@ void cmXCodeObject::Print(std::ostream& out)
cmXCodeObject::Indent(2*indentFactor, out);
out << "};\n";
}
-
+
//----------------------------------------------------------------------------
void cmXCodeObject::PrintList(std::vector<cmXCodeObject*> const& objs,
std::ostream& out)
-{
+{
cmXCodeObject::Indent(1, out);
out << "objects = {\n";
for(unsigned int i = 0; i < objs.size(); ++i)