[cmake-developers] Add property to get all linked libraries including transitive ones
Stephen Kelly
steveire at gmail.com
Sun Nov 6 19:23:39 EST 2016
Brad King wrote:
> On 11/04/2016 09:52 AM, maikel van den Hurk wrote:
>> What about doing what was targeted with this bug:
>> https://cmake.org/Bug/view.php?id=12435?
>
> That issue is now tracked here:
>
> https://gitlab.kitware.com/cmake/cmake/issues/12435
>
> I've just added some notes to the discussion.
>
> Steve, do you recall why $<TARGET_PROPERTY:tgt,LINK_LIBRARIES>
> is not transitive as genexes for other usage requirements are?
I believe it's because of a chicken-egg concern - the link libraries are the
basis for transitivity for other properties. I remember discussing that in
the mailing list back in the design phase.
Thanks,
Steve.
More information about the cmake-developers
mailing list