CMake based build of Lua (5.4.6 and 5.3.3)
Go to file
2023-07-11 07:14:02 -04:00
.github/workflows Comment out emscripten package test 2023-07-11 06:48:58 -04:00
lua-5.4.5 Don't use reserved name for include library 2023-07-09 17:20:42 -04:00
lua-5.4.5-tests Added 5.4.5 tests and extracted 2023-04-30 10:33:49 -04:00
lua-5.4.6 Moved public headers into include directory 2023-07-11 07:14:02 -04:00
lua-5.4.6-tests Added 5.4.5 sources,tests and extracted 2023-07-11 07:07:53 -04:00
lua-config-package-tests Add link to LUA_LIBRARIES in test for module compatible mode 2023-07-09 17:52:18 -04:00
orig_sources Added 5.4.5 sources,tests and extracted 2023-07-11 07:07:53 -04:00
.gitignore Initial commit 2016-09-22 08:02:28 -04:00
CMakeLists.txt Update CMakeLists and README.md for v5.4.5 2023-04-30 10:43:34 -04:00
README.md README.md: Updated to reflect Lua v5.4.5 and API/ABI warning 2023-04-30 10:57:09 -04:00

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.