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

24 lines
461 B
Lua
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
project "zip-lib"
language "C"
kind "StaticLib"
includedirs "include"
defines { "N_FSEEKO" }
warnings "off"
files
{
"**.h",
"**.c"
}
filter "system:linux or bsd or solaris or haiku"
defines { "HAVE_SSIZE_T_LIBZIP", "HAVE_CONFIG_H" }
filter "system:windows"
defines { "_WINDOWS" }
filter { "system:windows", "toolset:mingw" }
defines { "HAVE_SSIZE_T_LIBZIP" }
filter "system:macosx"
defines { "HAVE_SSIZE_T_LIBZIP" }