add sh/bash to pain list
Posted Feb 23, 2007 22:16 UTC (Fri) by
nix (subscriber, #2304)
In reply to:
add sh/bash to pain list by khim
Parent article:
The Road to KDE 4: CMake, a New Build System for KDE (KDE.News)
Quite so.
*Any* large system will soon acquire strange code generators and autobuild
rules involving them, and you'll *have* to have some way of telling the
code generator what the build rules are.
It can get insanely elaborate, e.g. gcc's horde of build tools using files
which might in extremis need to be built once with the build compiler,
once with the host compiler, *and* once with the target compiler
(libiberty is like this in Canadian cross builds); GCC's
build-a-makefile-on-the-fly system for building libgcc; or libjava's
`accumulate filenames and write most of the makefile on the fly' system
(all of which have good reasons to exist and are big improvements on what
predated them).
glibc is another good example, with automatic tree walkers finding the
`most system-specific suitable file, if any'...
The question of whether you put that stuff in CMake libraries or in files
included by the Makefile is somewhat academic, really. It still needs to
be there.
(
Log in to post comments)