[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-platform build system

From: Óscar Fuentes
Subject: Re: Multi-platform build system
Date: Fri, 14 Oct 2011 03:27:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Miles Bader <address@hidden> writes:

> Óscar Fuentes <address@hidden> writes:
>> Experience shows that a cmake spec usually is a fraction of the
>> length of the equivalent autoconf+automake/Makefile spec,
>> line-wise. Maintenance work is proportionally reduced. It's easier
>> to add new features, too.
> Off-topic, but I'm quite skeptical of this claim, compared to
> automake.  Makefile.am files tend to be pretty darn close to the
> minimal amount of information required to build (in typical cases: a
> list of source files), and very easy to extend.
> Automake's implementation is not very pretty, but the interface
> presented to the user is extremely good.

Well, automake scripts can be easy once you know how to handle them, but
auto* seems hard to learn.

My first experience with a big and complex project was LLVM
(www.llvm.org) What they have now is half as complex as the system I
wrote because they removed features (because of changing trade-off). It
took me a few weekends to write (keep in mind that I was a total
beginner with cmake) being the main time-consuming factor the large
amount of time each test build required. Since, people who had no
previous experience with autoconf/make nor with cmake claim to be more
at easy with the cmake build.

All of this is very subjective, of course. The Emacs build is not your
typical C/C++ project, which cmake is optimized for, but neither it is
LLVM, and it worked very well.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]