MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015469 | CMake | CMake | public | 2015-03-23 11:46 | 2015-11-02 09:13 |
|
Reporter | Abigail Bunyan | |
Assigned To | | |
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | no change required | |
Platform | Apple Mac | OS | OS X | OS Version | 10.10.2 |
Product Version | CMake 3.2.1 | |
Target Version | | Fixed in Version | | |
|
Summary | 0015469: 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. |
Steps To Reproduce | |
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). |
Tags | Xcode |
Relationships | related to | 0015441 | closed | Gregor Jasny | Xcode generator does not generate scheme |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-03-23 11:46 | Abigail Bunyan | New Issue | |
2015-03-23 11:46 | Abigail Bunyan | Tag Attached: Xcode | |
2015-03-23 11:47 | Abigail Bunyan | Note Added: 0038277 | |
2015-03-23 11:51 | Brad King | Relationship added | related to 0015441 |
2015-03-23 11:54 | Brad King | Note Added: 0038278 | |
2015-03-23 11:55 | Brad King | Status | new => resolved |
2015-03-23 11:55 | Brad King | Resolution | open => no change required |
2015-11-02 09:13 | Robert Maynard | Note Added: 0039743 | |
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |