Premake is a build script generator. It generates build scripts for gmake, xcode, visual studio and others. Premakes uses Lua and it's input files can use Lua scripting for build configuration tasks.