Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 991 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 991 Bytes

lua-prebuilt

Prebuilt of The Programming Language Lua official release on ftp site

Notes

  • the official Makefile is not very Windows-friendly

TODOs (Probably requires forking Lua)

  • 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")
  • While using Lua as static library, liblua.dll.a should not be generated
  • Modifying / overwritten official #defines for better use on Windows

Playground