[CMake] Function to get a list of all (recursively) linked libraries?

Mueller-Roemer, Johannes Sebastian Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de
Fri Aug 14 10:06:33 EDT 2015


Is there any simple method of acquiring a list of (absolute paths, generator expressions for debug/release are ok) all libraries linked to an executable or shared target? The LINK_LIBRARIES property contains targets and aliased targets and makes creating such a list quite complicated, but CMake must internally be able to create such a list for linking.

--
Johannes S. Mueller-Roemer, MSc
Wiss. Mitarbeiter - Interactive Engineering Technologies (IET)

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
Tel +49 6151 155-606  |  Fax +49 6151 155-139
johannes.mueller-roemer at igd.fraunhofer.de  |  www.igd.fraunhofer.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150814/8fcbb127/attachment.html>


More information about the CMake mailing list