From kde-buildsystem Mon Jun 30 15:25:41 2008 From: Dirk Mueller Date: Mon, 30 Jun 2008 15:25:41 +0000 To: kde-buildsystem Subject: Re: Reducing excess linkage - cmake 2.6 IMPORTED targets and Message-Id: <200806301725.41753.mueller () kde ! org> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=121483961603220 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