Browse Source

BUG: fix for bug 3417

Bill Hoffman 19 years ago
parent
commit
1fa5f76e40
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Source/cmGlobalXCodeGenerator.cxx

+ 4 - 3
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];
         }
       }