The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13247 
====================================================================== 
Reported By:                4ertus2
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13247
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-25 06:45 EDT
Last Modified:              2012-05-25 06:45 EDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-25 06:45 4ertus2        New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to