[CMake] Get all targets a target depends on

Dominik Bernhardt dominik.lists at dokabe.de
Fri Nov 29 03:07:17 EST 2013


Hi,

is it possible to get a list of all targets on which a particular  
target depends on. The only idea I have so far is to query the  
LINK_LIBRARIES target property. However that would only allow to get  
the libraries I'm linking with and for example no custom targets.
Any ideas how to accomplish this task?

Dominik



More information about the CMake mailing list