Reducing excess linkage - cmake 2.6 IMPORTED targets and LINK_INTERFACE_LIBRARIES for kdelibs

Alexander Neundorf neundorf at kde.org
Mon May 19 23:12:21 CEST 2008


On Saturday 10 May 2008, Sune Vuorela wrote:
> On Saturday 10 May 2008, you wrote:
> > > > , stuff which links with
> > > > KDE 4.0.x may not link anymore once this patch is applied
> > >
> > > thats the reason why the patch should be applied  to be able to
> > > optionally use this feature as soon as possible, so that those who care
> > > (I count debian and opensuse packagers here) can iron out all the
> > > quirks and fix all
> >
> > Would the official SUSE packages be built with this patch enabled or
> > disabled ?
>
> The official debian packages are built this way. Kubuntu seems quite
> interested in the debian work. So does Suse.

I understand that it would be nice and more correct, but that we would have 
two different behaviours is still something I really don't like.
What would you think about installing a KDELibsDependencies.cmake with 
different contents ?
This could be done either by:
-postprocessing the file created from kdelibs by the distros
or by
-creating a different file in kdelibs (problem may be the different 
debug/optimized versions of the libs, but then again, this should matter only 
for windows, right ?)

This solution would have the advantage that it would give the same results 
with cmake 2.4.x and 2.6.x, which would be a big advantage.

Alex


More information about the Kde-buildsystem mailing list