PROPOSAL: Use Cmake as the build system for Samba

simo idra at samba.org
Wed Feb 17 15:48:29 MST 2010


On Wed, 2010-02-17 at 17:42 -0500, simo wrote:
> On Thu, 2010-02-18 at 09:32 +1100, tridge at samba.org wrote:
> > Hi Simo,
> > 
> > This article is interesting:
> > 
> >   http://lwn.net/Articles/188693/
> > 
> > It is very positive about cmake and its use in KDE.
> > 
> > waf also looks interesting. It's originally based on SCons, but may be
> > better supported. See http://code.google.com/p/waf/
> > 
> > I certainly like the idea of being able to include waf (which is just
> > 89k) in the Samba source, for use on systems that don't have it. It
> > claims to support versions of python from 2.3 to 3.0, which is nice.
> > 
> > I also like the fact that it splits up the configure and build phases,
> > which is a better fit for the way we do things now than cmake is.
> 
> We haven't looked at waf.
> 
> One of the main objectives we had was to concentrate on wildly used
> tools with a proven community. waf never even came on the radar on that
> front.

Just to make it clear I am not saying anything about waf itself, it's
just that it wasn't considered as it seem to be used only by a handflu
of simple projects.

CMake is used by things like KDE and Wireshark, this gives us some
guarantee that it is going to stay around for quite some time and is
flaxible enough to build on mutliple platforms.

It looks more promising, as a plus Andreas already knows it therefore he
can give a boost to any plan of adopting it. He also would be allowed to
ork on this on his Red Hat time, which means it won't be some spare time
attempt.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list