Policy on implicit transitive dependencies
Daan De Meyer
daan.j.demeyer at gmail.com
Fri Jul 26 23:59:20 BST 2019
Hi,
While checking if any addon libraries could be removed, I found that many
libraries in `target_link_libraries` calls on addons can be removed simply
because those libraries are in the INTERFACE requirements of KTextEditor
(for example I18n). Is it preferred to still explicitly link against I18n
using `target_link_libraries` or is it fine to just link against
KTextEditor (because then many addons can link against just KTextEditor to
gain access to all their dependencies)?
The annoying thing with specifying all dependencies explicitly is that
there's no easy way to check if you explicitly listed every dependency
because you might always transitively get that dependency via another
dependency.
Regards,
Daan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190727/03e4ddf4/attachment-0001.html>
More information about the KWrite-Devel
mailing list