cmake-lua/README.md

14 lines
520 B
Markdown
Raw Normal View History

2016-09-22 20:02:28 +08:00
# Lua
CMake based build of Lua 5.4.0
![Build Linux](https://github.com/walterschell/Lua/workflows/Build%20Linux/badge.svg)
![Build Windows](https://github.com/walterschell/Lua/workflows/Build%20Windows/badge.svg)
![Build OSX](https://github.com/walterschell/Lua/workflows/Build%20OSX/badge.svg)
![Build Emscripten](https://github.com/walterschell/Lua/workflows/Build%20Emscripten/badge.svg)
2016-09-22 21:40:46 +08:00
# Usage
Inside of CMakeLists.txt
```cmake
add_subdirectory(lua)
...
target_link_libraries(<YOURTARGET> lua_static)
```