build-lua

Overview

build-lua is a package that contains the following:

build-lua.mk

Here is an overview of the classes are provided. Refer to the source file for more details.

LuaRun(SOURCE), LuaExec(SOURCE), LuaTest(SOURCE)

These classes are analogous to the Run, Exec, and Test builder classes, except they accept Lua scripts as inputs and invoke the Lua interpreter to run them. See LuaEnv, below, for customization options.

LuaExe(SOURCES)

Like the CExe class, LuaExe generates an executable file, but unlike CExe it construct the executable from one or more Lua scripts and their dependencies using cfromlua and a C compiler and linker.

LuaToC is used to generate the C file, and LuaCC is used to compile the resulting file. You can tell it to use other classes by overriding the l2cClass and/or ccClass properties.

See LuaEnv, below, for customization options.

LuaEnv

LuaEnv is a mixin class that contains a number of properties that affect the Lua execution environment. By customizing this class, you can define an environment that will apply consistently to LuaTest, LuaRun, LuaExec, LuaExe, and others. Alternatively, you can override these properties on any of those classes independently.

Properties: