[LLVMdev] Is there room for another build system?

Cyrille Berger cberger at cberger.net
Wed Jul 30 23:34:20 PDT 2008


On Thursday 31 July 2008, Erik de Castro Lopo wrote:
> Óscar Fuentes wrote:
> > CMake just requires one plain text file named CMakeLists.txt on every
> > source directory, and the only maintenance is to keep up to date the
> > list of source files of the directory.
>
> Has anyone read "Recursive Make Considered Harmful"?
>
>     http://miller.emu.id.au/pmiller/books/rmch/
>     http://aegis.sourceforge.net/auug97.pdf
>
> I have been using single top level Makefiles (and automake Makefile.am)
> for some time. For me they are far more reliable and maintainable. I have
> not yet tried CMake.
>
> For a large project using a single top level Makefile see the Linux
> kernel sources.
>
> Does CMake not support a non-recursive style usage?
Certainly, you can just use one top level CMakeLists.txt if you want. But I am 
not convinced that the issue of the paper are still valid for cmake.

-- 
Cyrille Berger




More information about the llvm-dev mailing list