lua-users home
lua-l archive

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


> I was 
> suggesting that a
> little extra help for easily building libraries in should be 
> part of the
> standard build system.

What about a Lua script that emulates all the *nix autoconfig stuff and
builds your project? The Lua script could even replace a makefile is you
could get timestamp and file info from somewhere (std libs?). So you choose
your platform and fill in the libs in a "config.lua" file and "lua
make.lua"? You could centralise all of the config stuff into one file and
the script could modify appropriate Defs and header files accordingly for
the build. You could have multiple config.lua files for different projects
and uses. So for a new library, a config.lua patch could be supplied that
would make it integrate with your settings? The problem is that Lua is
beautifully flexible and should remain so.

Regards,
Nick