[cmake-developers] Add property to get all linked libraries including transitive ones

maikel van den Hurk maikelvandenhurk at hotmail.com
Wed Nov 9 13:28:59 EST 2016


When trying to remove the limitation I couldn't find any issue actually. Do I overlook something here? If not I can make a PR on gitlab which will make this possible.


Maikel


________________________________
Van: cmake-developers <cmake-developers-bounces at cmake.org> namens Stephen Kelly <steveire at gmail.com>
Verzonden: maandag 7 november 2016 01:23
Aan: cmake-developers at cmake.org
Onderwerp: Re: [cmake-developers] Add property to get all linked libraries including transitive ones

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
[https://gitlab.kitware.com/uploads/project/avatar/541/cmakelogo-centered.png]<https://gitlab.kitware.com/cmake/cmake/issues/12435>

Possibility to get all link libraries for a target? (#12435) · Issues · CMake / CMake<https://gitlab.kitware.com/cmake/cmake/issues/12435>
gitlab.kitware.com
This issue was created automatically from an original [Mantis Issue](https://cmake.org/Bug/view.php?id=12435). Further discussion may take place here.



>
> 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.


--

Powered by www.kitware.com<http://www.kitware.com>

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20161109/9a6bd3e2/attachment.html>


More information about the cmake-developers mailing list