Split building

David Faure faure at kde.org
Wed Jan 9 00:58:37 CET 2008


On Wednesday 09 January 2008, Alexander Neundorf wrote:
> On Tuesday 08 January 2008, you wrote:
> > On Monday 07 January 2008, Alexander Neundorf wrote:
> > > target_link_libraries(kdepasswd ${LIBKONQ_LIBRARIES} ... )
> >
> > It's not about kdepasswd but about the kcm subdir BTW.
> >
> > > FindLibKonq.cmake could probably check whether it is called inside
> > > kdebase with libkonq or not (only slightly hackish) and act accordingly.
> > > But I have the feeling that this would be quite some work, if we need to
> > > do this for every small app.
> >
> > If you are going to modify CMakeLists.txt, then it's simpler to just apply
> > this patch, I think.
> >
> > -target_link_libraries(kcm_useraccount konq ${KDE4_KDESU_LIBS})
> > +target_link_libraries(kcm_useraccount konq ${KDE4_KIO_LIBS}
> > ${KDE4_KDESU_LIBS})
> >
> > After all, this code uses KIO directly.
> > I'm just surprised that this is necessary.
> 
> Yeah, this should work too. I'm undecided yet what the best option is.
> Maybe Gentoo could just disable the fatal warning flag ?

That's the worst solution of all, if you ask me. Undefined symbols are BAD,
we have to detect them.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list