Using this component you will be able to create and load components made in the Lua language. Components made in Lua and standard components (made in C++) can use the parameter table transparently.
You will need Gear2D and Lua51 previously installed. CMake is also necessary. We recommend building it in another folder (usually creating the build/ folder and calling 'cmake ../' inside).
-
Use the cmake-gui application. Make the "source directory" field point to the folder where you unpacked lua-proxy. Make the "build directory" point to the build/ folder inside it.
-
You will need the environment variable "LUA_DIR" pointing to where you installed Lua (development version) (this is necessary only if you installed it to a non-standard location). Refer to http://luabinaries.sourceforge.net/download.html to find the correct version for your platform and compiler, or head to your package manager to install it for you.
-
Hit the "Generate" button in cmake-gui, chose target compiler and done.
-
Use your compiler/toolchain/IDE inside the build folder to compile everything.
-
If you intend to make any package/installer for it, make your toolchain do the target PACKAGE.