winamp/Src/external_dependencies/openmpt-trunk/build/premake/ext-zlib.lua
2024-09-24 14:54:57 +02:00

56 lines
1.6 KiB
Lua

project "zlib"
uuid "1654FB18-FDE6-406F-9D84-BA12BFBD67B2"
language "C"
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
mpt_projectname = "zlib"
dofile "../../build/premake/premake-defaults-LIBorDLL.lua"
dofile "../../build/premake/premake-defaults.lua"
targetname "openmpt-zlib"
includedirs { "../../include/zlib" }
filter {}
filter { "action:vs*" }
characterset "Unicode"
filter {}
files {
"../../include/zlib/adler32.c",
"../../include/zlib/compress.c",
"../../include/zlib/crc32.c",
"../../include/zlib/deflate.c",
"../../include/zlib/gzclose.c",
"../../include/zlib/gzlib.c",
"../../include/zlib/gzread.c",
"../../include/zlib/gzwrite.c",
"../../include/zlib/infback.c",
"../../include/zlib/inffast.c",
"../../include/zlib/inflate.c",
"../../include/zlib/inftrees.c",
"../../include/zlib/trees.c",
"../../include/zlib/uncompr.c",
"../../include/zlib/zutil.c",
}
files {
"../../include/zlib/crc32.h",
"../../include/zlib/deflate.h",
"../../include/zlib/gzguts.h",
"../../include/zlib/inffast.h",
"../../include/zlib/inffixed.h",
"../../include/zlib/inflate.h",
"../../include/zlib/inftrees.h",
"../../include/zlib/trees.h",
"../../include/zlib/zconf.h",
"../../include/zlib/zlib.h",
"../../include/zlib/zutil.h",
}
filter {}
filter { "kind:StaticLib" }
filter { "kind:SharedLib" }
defines { "ZLIB_DLL" }
filter {}
filter { "action:vs*" }
buildoptions { "/wd4267" }
filter {}
filter { "action:vs*" }
buildoptions { "/wd6297", "/wd6385" } -- /analyze
filter {}