summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-06-16 18:02:03 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-06-16 18:02:03 (GMT)
commit1fa5f76e4081dd73e1d5f547f2df15619f99bc21 (patch)
tree05071d3715608a42af4773cdf677c773868abbe6 /Source/cmGlobalXCodeGenerator.cxx
parent79ebc7c9ccc091dcbc0a1e79152af7c72e5b3aa3 (diff)
downloadCMake-1fa5f76e4081dd73e1d5f547f2df15619f99bc21.zip
CMake-1fa5f76e4081dd73e1d5f547f2df15619f99bc21.tar.gz
CMake-1fa5f76e4081dd73e1d5f547f2df15619f99bc21.tar.bz2
BUG: fix for bug 3417
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 5a1a2d5..29ff85c 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -947,9 +947,10 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
}
}
else
- {
- char c = '1' + count++;
- tname[&cc] = std::string(target.GetName()) + c;
+ {
+ cmOStringStream str;
+ str << "_buildpart_" << count++ ;
+ tname[&cc] = std::string(target.GetName()) + str.str();
makefileStream << "\\\n\t" << tname[&cc];
}
}