Skip to content

dirkarnez/lua-prebuilt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published