[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Re: Reducing excess linkage - cmake 2.6 IMPORTED targets and
From: Dirk Mueller <mueller () kde ! org>
Date: 2008-06-30 15:25:41
Message-ID: 200806301725.41753.mueller () kde ! org
[Download RAW message or body]
On Monday 30 June 2008, Thiago Macieira wrote:
> >> The only QtXml user is kross/core/action.h
> The point is that most applications won't be using QtXml symbols, so they
> shouldn't be linking *directly* to QtXml. If they do use them, then they
> should link.
In some cases, there is no way to use the API of a particular library without
using the symbols of another library. This is probably very often the case in
KDE: it is hard to use kdeui without also using kdecore. Therefore, such
dependencies should be listed.
> Every application and library has to explicitly list all of its direct
> dependencies and only the direct ones. Anything else is an error.
>
> This interface stuff is just a convenience.
No, it is not only convenience, it is correctness.
Greetings,
Dirk
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic