winamp/Src/external_dependencies/openmpt-trunk/include/premake/contrib/lua/premake5.lua

29 lines
422 B
Lua
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
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 or solaris or haiku"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
filter "system:macosx"
defines { "LUA_USE_MACOSX" }