View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015194 | CMake | CMake | public | 2014-10-03 13:34 | 2016-06-10 14:31 | ||||
Reporter | stopiccot | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS X | OS | OS Version | ||||||
Product Version | CMake 3.0.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015194: Xcode projects fail with only object files | ||||||||
Description | Generated project Xcode fails to build libraries with only object input files. Test repo: https://github.com/stopiccot/cmake_xcode_bug [^] Xcode fails to create output file for "output_library_bugged" target nevertheless reporting that build succeeded. Everything is fine for "output_library_fixed" target. This actually maybe an Xcode not a CMake bug but we should consider adding this workaround into CMake. Example of real world project that suffers from this issue - https://github.com/PixarAnimationStudios/OpenSubdiv. [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036900) Brad King (manager) 2014-10-03 14:21 |
This is a known limitation of Xcode and it is documented in the add_library command: http://www.cmake.org/cmake/help/v3.0/command/add_library.html [^] "Some native build systems may not like targets that have only object files, so consider adding at least one real source file to any target that references $<TARGET_OBJECTS:objlib>." |
(0042643) 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 |
2014-10-03 13:34 | stopiccot | New Issue | |
2014-10-03 14:21 | Brad King | Note Added: 0036900 | |
2014-10-03 14:22 | Brad King | Summary | Bug in CMake Xcode generator => Xcode projects fail with only object files |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042643 | |
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 |