BUG: fix for bug 3417

This commit is contained in:
Bill Hoffman 2006-06-16 14:02:03 -04:00
parent 79ebc7c9cc
commit 1fa5f76e40
1 changed files with 4 additions and 3 deletions

View File

@ -947,9 +947,10 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
} }
} }
else else
{ {
char c = '1' + count++; cmOStringStream str;
tname[&cc] = std::string(target.GetName()) + c; str << "_buildpart_" << count++ ;
tname[&cc] = std::string(target.GetName()) + str.str();
makefileStream << "\\\n\t" << tname[&cc]; makefileStream << "\\\n\t" << tname[&cc];
} }
} }