summaryrefslogtreecommitdiff
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-01-27 17:09:09 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2005-01-27 17:09:09 -0500
commitb9982e4b60408b3be2f05b7955a5b06393db04c6 (patch)
treef117452c7214d0a86c5de73deac1bab595dbd2fe /Source/cmXCodeObject.cxx
parent29f9516e195ed619d611b879c8f7a2815574f3e9 (diff)
downloadcmake-b9982e4b60408b3be2f05b7955a5b06393db04c6.tar.gz
ENH: xcode almost working for simple exe, but not yet
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 3de51fa842..262729a4a4 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -1,4 +1,6 @@
#include "cmXCodeObject.h"
+#include "cmSystemTools.h"
+
const char* cmXCodeObject::PBXTypeNames[] = {
"PBXGroup", "PBXBuildStyle", "PBXProject", "PBXHeadersBuildPhase",
"PBXSourcesBuildPhase", "PBXFrameworksBuildPhase", "PBXNativeTarget",
@@ -17,6 +19,7 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
str << (void*)this;
str << (void*)this;
m_Id = str.str();
+ cmSystemTools::ReplaceString(m_Id, "0x", "");
m_Type = type;
if(m_Type == OBJECT)
{