mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-21 12:54:35 +00:00
CMake based build of Lua (5.4.6 and 5.3.3)
b4d597e122
Feature/5.4.5 |
||
---|---|---|
.github/workflows | ||
lua-5.4.5 | ||
lua-5.4.5-tests | ||
orig_sources | ||
.gitignore | ||
CMakeLists.txt | ||
README.md |
Lua
CMake based build of Lua 5.4.5
Build as C | Build 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.