View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015601 | CMake | CMake | public | 2015-06-03 04:37 | 2016-06-10 14:31 | ||||
Reporter | Valerii Kanunik | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015601: Add target linker commands | ||||||||
Description | Alongside with all target_* commands (target_compile_definitions, target_compile_features, target_compile_options, target_include_directories and target_link_libraries) are missing command to add linker flag to exact target. It would be grate add one or several commands which, for instance, on linux appends to linking command -Xlinker arguments, -T sctripts etc. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0038877) Brad King (manager) 2015-06-03 08:26 |
For reference, discussion here: push of LinkOptionsCommand topic branch http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/9203 [^] covers the possibility of a LINK_OPTIONS build property, INTERFACE_LINK_OPTIONS usage requirement, and target_link_options command to set them. Currently one can use target_link_libraries PRIVATE mode to add link flags to a specific target. |
(0038903) noname (reporter) 2015-06-10 13:12 edited on: 2015-06-10 13:29 |
I want this feature too. I need transitive link flags. If I remember correctly, the target_link_libraries trick didn't work for Ninja. (I didn't check every generator.) |
(0042789) 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 |
2015-06-03 04:37 | Valerii Kanunik | New Issue | |
2015-06-03 08:26 | Brad King | Note Added: 0038877 | |
2015-06-10 13:12 | noname | Note Added: 0038903 | |
2015-06-10 13:29 | noname | Note Edited: 0038903 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042789 | |
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 |