View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016101 | CMake | CMake | public | 2016-05-12 04:07 | 2016-06-10 14:31 | ||||
Reporter | Robert Bielik | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Mac | OS | OS X | OS Version | 10.11.3 | ||||
Product Version | CMake 3.5.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016101: ADD_SUBDIRECTORY with EXCLUDE_FROM_ALL fails to include target dependencies(XCode Generator) | ||||||||
Description | If the main target executable depends on targets that are in a subdirectory, using EXCLUDE_FROM_ALL in ADD_SUBDIRECTORY fails to include the target dependencies, leading to linking errors. From documentation: "Note that inter-target dependencies supercede this exclusion. If a target built by the parent project depends on a target in the subdirectory, the dependee target will be included in the parent project build system to satisfy the dependency" This works fine for MSYS, Unix and Visual Studio generators, but NOT XCode. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0041057) Robert Bielik (reporter) 2016-05-12 04:08 |
Related to 0004209 and 0008365. |
(0041058) Robert Bielik (reporter) 2016-05-12 04:11 edited on: 2016-05-12 04:21 |
Reason why this blocks, is that we use the INSTALL target and do NOT want all the INSTALL targets from sub projects included, so we have to use EXCLUDE_FROM_ALL, and with EXCLUDE_FROM_ALL, project fails to build. |
(0043002) Kitware Robot (administrator) 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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-05-12 04:07 | Robert Bielik | New Issue | |
2016-05-12 04:08 | Robert Bielik | Note Added: 0041057 | |
2016-05-12 04:11 | Robert Bielik | Note Added: 0041058 | |
2016-05-12 04:21 | Robert Bielik | Note Edited: 0041058 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0043002 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |