This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/contrib/lua/premake5.lua

29 lines
402 B
Lua

project "lua-lib"
language "C"
kind "StaticLib"
warnings "off"
includedirs { "src" }
files
{
"**.h",
"**.c"
}
excludes
{
"src/lauxlib.c",
"src/lua.c",
"src/luac.c",
"src/print.c",
"**.lua",
"etc/*.c"
}
filter "system:linux or bsd or hurd or aix"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
filter "system:macosx"
defines { "LUA_USE_MACOSX" }