View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014044 | CMake | CMake | public | 2013-03-27 08:50 | 2013-10-07 10:04 | ||||
Reporter | Matthias Maier | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | not fixable | ||||||
Platform | Max OSX 10.7 | OS | OS Version | ||||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014044: The Xcode generator produces an invalid target that will not get linked if it consists only of objects from object libraries | ||||||||
Description | Example code snippet: ADD_LIBRARY(foo OBJECT foo.cc ) ADD_LIBRARY(bar SHARED $<TARGET_OBJECTS:foo> ) "$ xcodebuild -target bar" will compile foo.obj but libbar.dylib doesn't get linked. As a workaround, ADD_LIBRARY(foo OBJECT foo.cc ) ADD_LIBRARY(bar SHARED dummy.cc $<TARGET_OBJECTS:foo> ) does work as expected (links dummy.obj and foo.obj to a libbar.dylib). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032707) Brad King (manager) 2013-03-27 09:11 |
This is a known limitation of Xcode. Documentation was added for this limit a few months ago: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=51988a4f [^] |
(0034018) Robert Maynard (manager) 2013-10-07 10:04 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-03-27 08:50 | Matthias Maier | New Issue | |
2013-03-27 09:11 | Brad King | Note Added: 0032707 | |
2013-03-27 09:11 | Brad King | Status | new => resolved |
2013-03-27 09:11 | Brad King | Resolution | open => not fixable |
2013-10-07 10:04 | Robert Maynard | Note Added: 0034018 | |
2013-10-07 10:04 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |