View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013247 | CMake | CMake | public | 2012-05-25 06:45 | 2012-10-01 13:23 | ||||
Reporter | 4ertus2 | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Windows | OS | Windows 7 | OS Version | 6.1 | ||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013247: VC generator add all shared library deps for dependent targets | ||||||||
Description | I use lots of static libraries targets that are combined into resulting shared library (in example mylib.dll). After that I add executable that depends on resulting library only (ex. myprog.exe). VC Generator add all the mylib.dll dependencies to myprog.exe link flags. It is strange behavior cause if some function is already in mylib.dll I don't need any dependencies and if it's not - I better define some library in target_link_libraries manually. In fact it could be a problem - not all functions are included in mylib.dll. And CMake try to hide the problem from me. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0029565) Brad King (manager) 2012-05-25 08:03 |
See this FAQ entry: http://www.cmake.org/Wiki/CMake_FAQ#Why_are_libraries_linked_to_my_shared_library_included_when_something_links_to_it.3F [^] |
(0031135) David Cole (manager) 2012-10-01 13:23 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-25 06:45 | 4ertus2 | New Issue | |
2012-05-25 08:03 | Brad King | Note Added: 0029565 | |
2012-05-25 08:03 | Brad King | Status | new => resolved |
2012-05-25 08:03 | Brad King | Resolution | open => no change required |
2012-10-01 13:23 | David Cole | Note Added: 0031135 | |
2012-10-01 13:23 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |