MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015371 | CMake | CMake | public | 2015-01-26 04:17 | 2016-06-10 14:31 |
| Reporter | Daniele E. Domenichelli | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 3.1 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015371: Different components for library and link using just one install command | ||||
| Description | When a library with a SOVERSION is created, the only way to install the library and the links to the library with a different component is installing the target twice using NAMELINK_SKIP and NAMELINK_ONLY. For example add_library(foo ${foo_SRCS}) set_target_properties(foo PROPERTIES SOVERSION 1) install(TARGETS foo LIBRARY DESTINATION lib COMPONENT library NAMELINK_SKIP) install(TARGETS foo LIBRARY DESTINATION lib COMPONENT devel NAMELINK_ONLY) This is redundant and not intuitive, it would be useful to be able to do this in just one command, for example: install(TARGETS foo LIBRARY DESTINATION lib COMPONENT library NAMELINK_COMPONENT devel) | ||||
| Steps To Reproduce | |||||
| Additional Information | Mailing list thread here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/12023 [^] | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-01-26 04:17 | Daniele E. Domenichelli | New Issue | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042702 | |||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||