CMake based build of Lua (5.4.6 and 5.3.3)
Go to file
melonedo 6f99e2d952 Adapt to suggestions
- build shared and/or static version controlled by `LUA_ENABLE_SHARED/STATIC`
- add alias Lua::Lib which is one of above, controlled by `BUILD_SHARED_LIBS`
- exclude the unneeded version if not toplevel
2022-04-29 21:23:19 +08:00
.github/workflows Added GitHub actions to build for CXX when supported 2021-04-26 07:38:33 -04:00
lua-5.4.4 Adapt to suggestions 2022-04-29 21:23:19 +08:00
orig_sources Removed 5.4.3 2022-01-27 20:21:16 -05:00
.gitignore Initial commit 2016-09-22 08:02:28 -04:00
CMakeLists.txt Adapt to suggestions 2022-04-29 21:23:19 +08:00
README.md Updated CMakeLists.txt and README.md to reflect 5.4.4 2022-01-27 20:20:19 -05:00

Lua

CMake based build of Lua 5.4.4

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)