View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000613 | CMake | public | 2004-02-20 06:22 | 2004-04-21 15:46 | |||||
Reporter | Ian Scott | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000613: Can't change linker flags on MSVC | ||||||||
Description | Attempting to locally modify the library link options using SET ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} WIBBLE" ) SET ( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} WIBBLE" ) ADD_LIBRARY(Hello hello.cxx) MESSAGE("${CMAKE_MODULE_LINKER_FLAGS}") Running cmake (1.8.3), the message output confirms that the variable has been set. But checking for any output containing WIBBLE in the binary tree grep -r WIBBLE * returns nothing. I am using a MSVC6.0 target, and have tested this in both the VXL build tree and the Example build tree from the CMake CVS distribution. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0000676) Ian Scott (reporter) 2004-02-20 11:22 |
I have evidence from the VXL dashboard that the same problem happens on MSVC.NET. As it happens I am trying to suppress warnings on a MSVC7.0 and 7.1 build, so it is the MSVC.NET target that I am more interested in seeing fixed. Thanks, Ian. |
(0000705) Ian Scott (reporter) 2004-02-25 14:25 |
It might be more appropriate to fix bug 629 first. http://www.cmake.org/Bug/bug.php?op=show&bugid=629 [^] |
(0000927) Bill Hoffman (manager) 2004-04-21 15:46 |
This is because static libraries to not run the linker, so there are no linker flags. |
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 |