MantisBT - CMake
View Issue Details
0009216CMakeCMakepublic2009-06-29 00:382009-06-29 12:03
Doug Gregor 
David Cole 
normalfeaturealways
closedfixed 
CMake-2-6 
 
0009216: Please add support for Xcode 3.0+
CMake is generating Xcode project files are labeled as "Xcode 2.4-compatible" by recent versions of Xcode (3.0 and 3.1). Xcode 2.4 is more than 2 1/2 years old, so it would be better if CMake could generate projects that target more recent versions of Xcode. In particular, targeting Xcode 3.0 or newer would allow CMake to set the "Build independent targets in parallel" flag in Xcode, which can greatly improve build times.

The attached patch adds support for generating Xcode 3.0 and Xcode 3.1 projects, including setting "Build independent targets in parallel". Tested by building LLVM+Clang with Xcode 3.1 on Mac OS X 10.5 (Leopard).
No tags attached.
patch cmake-xcode-3.patch (10,739) 2009-06-29 00:38
https://public.kitware.com/Bug/file/2344/cmake-xcode-3.patch
Issue History
2009-06-29 00:38Doug GregorNew Issue
2009-06-29 00:38Doug GregorFile Added: cmake-xcode-3.patch
2009-06-29 09:48Bill HoffmanStatusnew => assigned
2009-06-29 09:48Bill HoffmanAssigned To => Brad King
2009-06-29 09:48Bill HoffmanAssigned ToBrad King => David Cole
2009-06-29 12:02Brad KingNote Added: 0016778
2009-06-29 12:03Brad KingNote Added: 0016779
2009-06-29 12:03Brad KingStatusassigned => closed
2009-06-29 12:03Brad KingResolutionopen => fixed

Notes
(0016778)
Brad King   
2009-06-29 12:02   
Thanks for the patch. Committed with minor style tweaks.

ENH: Generate native Xcode 3.0 and 3.1 projects
/cvsroot/CMake/CMake/Source/cmGlobalXCode21Generator.cxx,v <-- Source/cmGlobalXCode21Generator.cxx
new revision: 1.8; previous revision: 1.7
/cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v <-- Source/cmGlobalXCodeGenerator.cxx
new revision: 1.211; previous revision: 1.210
/cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.h,v <-- Source/cmGlobalXCodeGenerator.h
new revision: 1.57; previous revision: 1.56
(0016779)
Brad King   
2009-06-29 12:03   
I've scheduled this for 2.6.5.