<br><br><div class="gmail_quote">On Thu, Jan 22, 2009 at 3:00 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thursday 22 January 2009, Robert Dailey wrote:<br>
> Hi,<br>
><br>
> The documentation for LINK_INTERFACE_LIBRARIES (Target property) clearly<br>
> states that this is ignored for static libraries. However, I need to get<br>
> the list that was passed into target_link_libraries() for that static<br>
> library project.<br>
<br>
</div>What do you need it for ?<br>
In general CMake takes care of handling the dependencies for you.</blockquote></div><br>With all do respect, why does it matter? Yes, in the generated target dependencies are handled for me but when I call get_target_property() with LINK_INTERFACE_LIBRARIES it only includes the dependencies I specific for only that executable target, it does not provide me the transitive dependencies. This is a problem for me.<br>
<br>In any case, I decided to maintain my own dependency variables for all my projects and bypass using get_target_property() for now. This works exceptionally well.<br>