[cmake-developers] [CMake 0015469]: Xcode projects misuses targets for ALL_BUILD; it should use a scheme instead
Mantis Bug Tracker
mantis at public.kitware.com
Mon Mar 23 11:46:43 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15469
======================================================================
Reported By: Abigail Bunyan
Assigned To:
======================================================================
Project: CMake
Issue ID: 15469
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-03-23 11:46 EDT
Last Modified: 2015-03-23 11:46 EDT
======================================================================
Summary: Xcode projects misuses targets for ALL_BUILD; it
should use a scheme instead
Description:
When generating an Xcode project from a CMakeLists.txt with one target, the
resultant project contains three targets: the user's target, ALL_BUILD, and
ZERO_CHECK. It then makes all targets depend on ZERO_CHECK, and makes ALL_BUILD
depend on all other targets.
However, the Xcode documentation specifies "Projects can contain one or more
targets, each of which produces one product." - so ALL_BUILD is not the intended
use of targets. CMake should instead create an Xcode scheme, which depends on
all of the user's Xcode targets.
Additional Information:
Debatably, ZERO_CHECK shouldn't be a target - and ZERO_CHECK's only build phase
should instead be a build phase present in every other target. However, you
could argue that it does produce a product (ie. the Xcode project itself).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-03-23 11:46 Abigail Bunyan New Issue
======================================================================
More information about the cmake-developers
mailing list