LuaCmake is a basic CMake configuration to compile Lua compatible with all operating systems.
- Install CMake https://cmake.org
- Download Lua https://www.lua.org/download.html
- Extract in somewhere.
- Copy CMakeLists.txt to Lua extracted directory.
- Copy also the script with the cmake commands according the operating system.
- Run the script.