MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013289 | CMake | CMake | public | 2012-06-09 03:03 | 2012-11-05 14:33 |
Reporter | monaka | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Mac | OS | MacOSX | OS Version | 10.6.8 |
Product Version | CMake 2.8.8 | ||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||
Summary | 0013289: In some cases, add_library(<name> OBJECT <src> ...) failure with unexpected warnings. | ||||
Description | In case TARGET_SUPPORT_SHARED_LIBS is false, Calling add_library(... OBJECT ...) will get warnings below. "ADD_LIBRARY for library foobar is used with the MODULE option, but the target platform supports only STATIC libraries. Building it STATIC instead. This may lead to problems." And type is forced to cmTarget::STATIC_LIBRARY. Actually adding "object library" will succeed even if its target isn't support shared libs. The current implementation is unsuitable, I think. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-09 03:03 | monaka | New Issue | |||
2012-06-11 08:42 | Brad King | Note Added: 0029657 | |||
2012-06-11 08:42 | Brad King | Assigned To | => Brad King | ||
2012-06-11 08:42 | Brad King | Status | new => resolved | ||
2012-06-11 08:42 | Brad King | Resolution | open => fixed | ||
2012-06-11 08:42 | Brad King | Fixed in Version | => CMake 2.8.9 | ||
2012-06-11 08:42 | Brad King | Target Version | => CMake 2.8.9 | ||
2012-11-05 14:33 | David Cole | Note Added: 0031447 | |||
2012-11-05 14:33 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|