winamp/Src/external_dependencies/openmpt-trunk/build/genie/ext-mpg123.lua

56 lines
2.2 KiB
Lua
Raw Normal View History

2024-09-24 12:54:57 +00:00
project "mpg123"
uuid "7adfafb9-0a83-4d35-9891-fb24fdf30b53"
language "C"
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
mpt_projectname = "mpg123"
dofile "../../build/genie/genie-defaults-DLL.lua"
dofile "../../build/genie/genie-defaults.lua"
targetname "openmpt-mpg123"
includedirs {
"../../include/mpg123/ports/MSVC++",
"../../include/mpg123/src/libmpg123",
"../../include/mpg123/src/compat",
"../../include/mpg123/src",
}
flags { "Unicode" }
files {
"../../include/mpg123/src/compat/compat.c",
"../../include/mpg123/src/compat/compat_str.c",
}
files {
--"../../include/mpg123/src/libmpg123/calctables.c",
"../../include/mpg123/src/libmpg123/dct64.c",
--"../../include/mpg123/src/libmpg123/dither.c",
"../../include/mpg123/src/libmpg123/equalizer.c",
"../../include/mpg123/src/libmpg123/feature.c",
"../../include/mpg123/src/libmpg123/format.c",
"../../include/mpg123/src/libmpg123/frame.c",
"../../include/mpg123/src/libmpg123/icy.c",
"../../include/mpg123/src/libmpg123/icy2utf8.c",
"../../include/mpg123/src/libmpg123/id3.c",
"../../include/mpg123/src/libmpg123/index.c",
"../../include/mpg123/src/libmpg123/layer1.c",
"../../include/mpg123/src/libmpg123/layer2.c",
"../../include/mpg123/src/libmpg123/layer3.c",
--"../../include/mpg123/src/libmpg123/lfs_alias.c",
--"../../include/mpg123/src/libmpg123/lfs_wrap.c",
"../../include/mpg123/src/libmpg123/libmpg123.c",
"../../include/mpg123/src/libmpg123/ntom.c",
"../../include/mpg123/src/libmpg123/optimize.c",
"../../include/mpg123/src/libmpg123/parse.c",
"../../include/mpg123/src/libmpg123/readers.c",
"../../include/mpg123/src/libmpg123/stringbuf.c",
"../../include/mpg123/src/libmpg123/synth.c",
"../../include/mpg123/src/libmpg123/synth_8bit.c",
"../../include/mpg123/src/libmpg123/synth_real.c",
"../../include/mpg123/src/libmpg123/synth_s32.c",
"../../include/mpg123/src/libmpg123/tabinit.c",
}
defines { "DYNAMIC_BUILD", "OPT_GENERIC" }
links {
"shlwapi",
}
buildoptions { "/wd4018", "/wd4244", "/wd4267", "/wd4305", "/wd4334" }
buildoptions { "/wd6011", "/wd6285", "/wd6297", "/wd6305", "/wd6385", "/wd6386" } -- /analyze