Lua/README.md

1.4 KiB

Lua

CMake based build of Lua 5.4.5

Build as C Build as C++
Build Linux Build Linux as C++
Build Windows Build Windows as C++
Build OSX Build OSX as C++
Build Emscripten Build Emscripten as C++

Usage

Inside of your project's CMakeLists.txt

add_subdirectory(lua)
...
target_link_libraries(<YOURTARGET> lua_static)

Important Note:

Depending on your use case, Lua v5.4.5 is API and ABI incompatible with v5.4.1-v5.4.4. A second parameter has been added to lua_resetthread(). See https://marc.info/?t=168182290600001&r=1&w=2 for more details.