[cmake-developers] [CMake 0013247]: VC generator add all shared library deps for dependent targets
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 25 06:45:37 EDT 2012
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
======================================================================
More information about the cmake-developers
mailing list