summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-01 20:48:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-01 20:48:33 (GMT)
commit7baa78034e04cde65995ea4f6ce784aec8879b70 (patch)
tree7712488b84d8482e5be015058012527fc6677c43 /Source/cmXCodeObject.cxx
parent3bb54c00d578466e9f4d4db92bf5face00c4e313 (diff)
downloadCMake-7baa78034e04cde65995ea4f6ce784aec8879b70.zip
CMake-7baa78034e04cde65995ea4f6ce784aec8879b70.tar.gz
CMake-7baa78034e04cde65995ea4f6ce784aec8879b70.tar.bz2
ENH: getting closer
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 262729a..b4ecee9 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -20,6 +20,14 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
str << (void*)this;
m_Id = str.str();
cmSystemTools::ReplaceString(m_Id, "0x", "");
+ if(m_Id.size() < 24)
+ {
+ int diff = 24 - m_Id.size();
+ for(int i =0; i < diff; ++i)
+ {
+ m_Id += "0";
+ }
+ }
m_Type = type;
if(m_Type == OBJECT)
{