Prebuilt of The Programming Language Lua official release on ftp site
- the official Makefile is not very Windows-friendly
- Add CMake Support:
- Possible
CMakeLists.txt
cmake_minimum_required(VERSION 3.14) project(lua) file(GLOB LUA_HEADERS include/lua/*.h include/lua/*.hpp) file(GLOB LUA_SOURCES src/*.c) add_library(lua STATIC ${LUA_SOURCES} ${LUA_HEADERS}) target_include_directories(lua PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include/lua")
- Possible
- While using Lua as static library,
liblua.dll.a
should not be generated - Modifying / overwritten official
#define
s for better use on Windows