MantisBT - CMake
View Issue Details
0015441CMakeCMakepublic2015-03-11 16:172016-06-10 14:31
Tom Hughes 
Gregor Jasny 
normalfeaturealways
closedmoved 
Apple MacOS X10.4.10
CMake 3.0.2 
 
0015441: Xcode generator does not generate scheme
After generating an Xcode project with cmake, an xcode scheme is not created by cmake (https://developer.apple.com/library/ios/featuredarticles/XcodeConcepts/Concept-Schemes.html [^]). When opening the project with Xcode, Xcode seems to automatically generate the scheme, but this makes it hard to use continuous integration to archive an iOS app using xcodebuild (archiving requires a scheme):

xcodebuild -project generated_project.xcodeproj -configuration Release -scheme name_of_scheme archive
No tags attached.
related to 0015469closed  Xcode projects misuses targets for ALL_BUILD; it should use a scheme instead 
related to 0015946closed Kitware Robot "xcodebuild -target foo install" should do something sensible 
related to 0015183closed Gregor Jasny Xcode INSTALL_PATH setting makes archiving impossible 
Issue History
2015-03-11 16:17Tom HughesNew Issue
2015-03-23 11:51Brad KingRelationship addedrelated to 0015469
2015-03-23 11:57Brad KingNote Added: 0038280
2015-03-23 11:58Brad KingSeverityminor => feature
2015-03-23 11:58Brad KingStatusnew => backlog
2015-12-20 11:35Gregor JasnyAssigned To => Gregor Jasny
2015-12-20 11:35Gregor JasnyStatusbacklog => assigned
2015-12-20 11:38Gregor JasnyNote Added: 0040004
2016-01-30 17:32Gregor JasnyRelationship addedrelated to 0015946
2016-01-30 17:41Gregor JasnyRelationship addedrelated to 0015183
2016-06-10 14:29Kitware RobotNote Added: 0042728
2016-06-10 14:29Kitware RobotStatusassigned => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0038280)
Brad King   
2015-03-23 11:57   
I marked 0015469 as resolved because we don't need more than one issue to track this. See also comment 0015469:0038278.

The feature requested here is explicit scheme creation.
(0040004)
Gregor Jasny   
2015-12-20 11:38   
I started looking into this topic but it's a rather complex one. First decision would be if this should be implemented in the C++ core or as a CMake Module. So far I'm able to create a simple scheme for library targets.

The next step would be to draft an API.
(0042728)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.