summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-01-27 21:11:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-01-27 21:11:44 (GMT)
commit97a51d2172fec2d9d33713322bca96647bc94515 (patch)
tree8533af745e8f42b90a31cc5a0ed7bcf23082dfad /Source/cmXCodeObject.cxx
parentc22cc421e0344074dd4db2f6003ede96a4df7160 (diff)
downloadCMake-97a51d2172fec2d9d33713322bca96647bc94515.zip
CMake-97a51d2172fec2d9d33713322bca96647bc94515.tar.gz
CMake-97a51d2172fec2d9d33713322bca96647bc94515.tar.bz2
ENH: add more xcode stuff
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index dbdbb03..8718c11 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -14,6 +14,8 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
m_IsA = ptype;
cmOStringStream str;
str << (void*)this;
+ str << (void*)this;
+ str << (void*)this;
m_Id = str.str();
m_Type = type;
if(m_Type == OBJECT)
@@ -40,7 +42,6 @@ void cmXCodeObject::Print(std::ostream& out)
std::map<cmStdString, cmXCodeObject*>::iterator i;
for(i = m_ObjectAttributes.begin(); i != m_ObjectAttributes.end(); ++i)
{
-
cmXCodeObject* object = i->second;
cmXCodeObject::Indent(3, out);
if(i->first == "isa")
@@ -78,7 +79,10 @@ void cmXCodeObject::Print(std::ostream& out)
{
out << i->first << " = " << object->m_String << ";\n";
}
-
+ else
+ {
+ out << "what is this?? " << i->first << "\n";
+ }
}
cmXCodeObject::Indent(2, out);
out << "};\n";