Convenience Libraries (was RFC: KHTML "modular" build)
Matt Broadstone
mbroadst at gmail.com
Mon Jul 17 20:09:10 CEST 2006
Hi, I submitted a patch to kfm-devel to convert khtml to use
libtool-esque convenience libraries yesterday, and wanted to move the
discussion over here as it seems more appropriate. Attached is the
patch to convert khtml to the convenience libraries, it would be much
appreciated if people could test this on other platforms (I only have
linux to test on here..) to see if we can get convenience libraries
working with cmake. Thanks!
Matt Broadstone
P.S. The patch applies to trunk/kdelibs/khtml
---------- Forwarded message ----------
From: Alexander Neundorf <neundorf at kde.org>
Date: Jul 17, 2006 1:44 PM
Subject: Re: RFC: KHTML "modular" build
To: Matt Broadstone <mbroadst at gmail.com>, kfm-devel at kde.org
On Monday 17 July 2006 18:14, you wrote:
> On 7/17/06, Alexander Neundorf <neundorf at kde.org> wrote:
> > On Monday 17 July 2006 00:14, Matt Broadstone wrote:
> > > Attached is a patch to make khtml build in pieces. It breaks all the
> > > subdirs (but for ecma right now) into static libs and then uses those
> > > to build khtml. I wanted to ask you all whether you thought this was a
> > > good idea.. I mainly did it because I was sick of rebuilding all of
> > > khtml every time I made a small change in my soc project under
> > > ecma/debugger, but I have talked to people who think the A) longer
> > > link times B) reverting to autotools-like behavior here, are unwanted
> > > sideeffects of this change. Anyway, let me know what you all think.
> >
> > Convenience libs are not really supported by cmake, the conversion from
> > the libtool convenience libs to compile-all-in-one was done by purpose.
> > If you find a way to make this work portable with cmake on all supported
> > platforms I'd be very happy.
> > As it is now, changing this to static libs may break things on some
> > platforms. I strongly recommend not to change it to static libs except
> > you know very well what you are doing.
> > http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_
> >libraries.3F
>
> Well I'm assuming by other platform you mean win32?
Linux, *BSD, OS X, Solaris, Win with MSVC, Win with mingw.
I also have "only" a Linux box and from time to time a FreeBSD box available.
More information about the Kde-buildsystem
mailing list