MantisBT - CMake | |||||
| View Issue Details | |||||
| 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). | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||