[cmake-developers] [CMake 0012435]: Possibility to get all link libraries for a target?

Mantis Bug Tracker mantis at public.kitware.com
Wed Aug 31 09:43:46 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12435 
====================================================================== 
Reported By:                chrislu
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12435
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   immediate
Status:                     new
====================================================================== 
Date Submitted:             2011-08-31 09:43 EDT
Last Modified:              2011-08-31 09:43 EDT
====================================================================== 
Summary:                    Possibility to get all link libraries for a target?
Description: 
Hi,
i need to retrieve all link libraries currently bound to a target. Especially i
need all link libraries introduced transitively though dependencies.

So i have a library lib0 that i link lib1 and lib2 against. Now when i create an
executable exe0 that i link lib0 against lib1 and lib2 are also linked to exe0.
I need a way to retrieve all libraries for the target exe0.

Thanks
-chris
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-08-31 09:43 chrislu        New Issue                                    
======================================================================




More information about the cmake-developers mailing list