On Mon, Jun 16, 2008 at 06:00:37PM +0200, Enrico Weigelt wrote: > * Alexander Neundorf <[EMAIL PROTECTED]> schrieb: > > > > That's why I prefer an purely descriptive paragidm (= subset of > > > delcarative, but practically no logic): a buildfile should only > > > describe the package's structure (eg.: "i have some executable foo > > > which consists of source [...] and imports libs [...]), so the > > > buildtool (and user's config) can cope with it all. > > > > This was also the plan for cmake when it was started. But it turned > > out that this is not enough, and for more complex projects some > > programming logic is required. So cmake turned from quite declarative > > to quite imperative over time. > > And so you just open the Pandorra's Box again ;-o > As soon as you try to build some one-fits-all-solution, you'll > sooner or later run into similar problems as autoconf has. > > I won't to that w/ my TreeBuild. It is intentionally limited on > easily structured packages. People should either structure their > packages properly use something else ;-P
For simple packages autoconf+automake+libtool is already near at your descriptive paragidm. And despite all nasty details of autoconf/automake/libtool they also have advantages: - they are quite powerful when you know how to handle them - they allow to build your software on non-Linux systems - they are the de-facto standard in the open source world, and everyone building open source software knows them And the last point is a very important one: For me as someone who is often compiling software your plan of creating yet another build tool I have to handle does not sound like a good idea. > cu cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html