From b9982e4b60408b3be2f05b7955a5b06393db04c6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 27 Jan 2005 17:09:09 -0500 Subject: ENH: xcode almost working for simple exe, but not yet --- Source/cmXCodeObject.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/cmXCodeObject.cxx') 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) { -- cgit v1.2.1