View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000629 | CMake | public | 2004-02-25 14:23 | 2004-04-22 16:58 | |||||
Reporter | Ian Scott | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | high | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000629: SET_TARGET_PROPERTIES( LINK_FLAGS) doesn't work on libraries | ||||||||
Description | trying to set the flags passed to the linker using SET_TARGET_PROPERTIES( foo PROPERTIES LINK_FLAGS "wibble") doesn't work. Apparently it does work if the target is an executable. See the mail http://www.cmake.org/pipermail/cmake/2004-February/004802.html [^] for a full demonstration of the bug. This may be related to bug http://www.cmake.org/Bug/bug.php?op=show&bugid=613 [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0000928) Bill Hoffman (manager) 2004-04-21 15:47 |
This is because for static libraries there is no linker step. |
(0000943) Ian Scott (reporter) 2004-04-22 16:15 |
Can you add the ability to set flags on the command used to create static libraries (its lib under MSVC) Thanks. |
(0000947) Bill Hoffman (manager) 2004-04-22 16:58 |
I added a new property called: STATIC_LIBRARY_FLAGS LINK_FLAGS will still be only for things that actually link. That way when you have BUILD_SHARED ON or OFF it won't try and use the wrong flags if it uses a separate property. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-17 15:34 | David Cole | Relationship added | related to 0010554 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |