[cmake-developers] Add property to get all linked libraries including transitive ones
Brad King
brad.king at kitware.com
Fri Nov 4 10:50:00 EDT 2016
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?
> Is this information already present in cmake-server right now?
Not sure.
> Still I believe that the suggestion of the bug mentioned is actually the better path.
[snip]
> write out properly ivy module descriptor
Without knowing more about an "ivy module descriptor" I cannot say whether
cmake-server or a generate-time solution from CMake is better. I can say
I don't think it should be the responsibility of project code to generate
files for external tooling unrelated to the build process. The tooling
should be able to extract the information from any CMake project, and the
cmake-server approach would allow that.
-Brad
More information about the cmake-developers
mailing list