Policy on implicit transitive dependencies

Christoph Cullmann christoph at cullmann.io
Sat Jul 27 10:10:06 BST 2019


On 2019-07-27 00:59, Daan De Meyer wrote:
> 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.

Hi,

I would prefer the minimal list, but
I think that is not really important.

Greetings
Christoph

> 
> Regards,
> 
> Daan

-- 
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org


More information about the KWrite-Devel mailing list