View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003417 | CMake | CMake | public | 2006-06-16 13:55 | 2006-06-16 14:07 | ||||
Reporter | Hans Johnson | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003417: Error building large projects under XCode | ||||||||
Description | XCode buid had an error in a custom file when too many libs needed to be run through ranlib. The following patch seems to fix the problem: Index: Source/cmGlobalXCodeGenerator.cxx =================================================================== RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v retrieving revision 1.117 diff -r1.117 cmGlobalXCodeGenerator.cxx 951,952c951,953 < char c = '1' + count++; < tname[&cc] = std::string(target.GetName()) + c; --- > cmOStringStream str; > str << "_buildpart_" << count++ ; > tname[&cc] = std::string(target.GetName()) + str.str(); The previous code produced makefile sub-target names that had a single charater appended to base target name to distinguish between them. It starts with ASCII code #49='1' and increments, The problem with this is that if there are a lot of sub-targets, this scheme does not work. Eventually you end up with subtargets that end in '*' or '^' or some unprintable character. Ths really makes xcodebuild unhappy and fails to parse the file correctly. The new code does not seem to have the problem, and is infinitely extensible. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0004276) Bill Hoffman (manager) 2006-06-16 14:07 |
Thanks, good catch. I have commited the fix to cvs, and will put it in 2.4.3. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |