CMake based build of Lua (5.4.6 and 5.3.3)
Go to file
2023-06-24 21:18:42 -04:00
.github/workflows First attempt at testing CMake Pacage. Will be squashed 2023-06-24 21:18:42 -04:00
lua-5.4.5 Update CMakeLists and README.md for v5.4.5 2023-04-30 10:43:34 -04:00
lua-5.4.5-tests Added 5.4.5 tests and extracted 2023-04-30 10:33:49 -04:00
lua-config-package-tests First attempt at testing CMake Pacage. Will be squashed 2023-06-24 21:18:42 -04:00
orig_sources Removed 5.4.4 2023-04-30 10:45:43 -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.