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

100 lines
4.1 KiB
Lua

project "vorbis"
-- NOTE: Unlike the official libvorbis, we built everything into a single library instead of the vorbis, vorbisenc, vorbisfile split.
uuid "b544dcb7-16e5-41bc-b51b-7ead8cfdfa05"
language "C"
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
mpt_projectname = "vorbis"
dofile "../../build/genie/genie-defaults-LIBorDLL.lua"
dofile "../../build/genie/genie-defaults.lua"
targetname "openmpt-vorbis"
local extincludedirs = {
"../../include/ogg/include",
}
includedirs ( extincludedirs )
includedirs {
"../../include/vorbis/include",
"../../include/vorbis/lib",
}
flags { "Unicode" }
files {
"../../include/vorbis/include/vorbis/codec.h",
"../../include/vorbis/include/vorbis/vorbisenc.h",
"../../include/vorbis/include/vorbis/vorbisfile.h",
}
files {
"../../include/vorbis/lib/analysis.c",
"../../include/vorbis/lib/backends.h",
--"../../include/vorbis/lib/barkmel.c",
"../../include/vorbis/lib/bitrate.c",
"../../include/vorbis/lib/bitrate.h",
"../../include/vorbis/lib/block.c",
"../../include/vorbis/lib/codebook.c",
"../../include/vorbis/lib/codebook.h",
"../../include/vorbis/lib/codec_internal.h",
"../../include/vorbis/lib/envelope.c",
"../../include/vorbis/lib/envelope.h",
"../../include/vorbis/lib/floor0.c",
"../../include/vorbis/lib/floor1.c",
"../../include/vorbis/lib/highlevel.h",
"../../include/vorbis/lib/info.c",
"../../include/vorbis/lib/lookup.c",
"../../include/vorbis/lib/lookup.h",
"../../include/vorbis/lib/lookup_data.h",
"../../include/vorbis/lib/lpc.c",
"../../include/vorbis/lib/lpc.h",
"../../include/vorbis/lib/lsp.c",
"../../include/vorbis/lib/lsp.h",
"../../include/vorbis/lib/mapping0.c",
"../../include/vorbis/lib/masking.h",
"../../include/vorbis/lib/mdct.c",
"../../include/vorbis/lib/mdct.h",
"../../include/vorbis/lib/misc.h",
"../../include/vorbis/lib/os.h",
"../../include/vorbis/lib/psy.c",
"../../include/vorbis/lib/psy.h",
-- "../../include/vorbis/lib/psytune.c",
"../../include/vorbis/lib/registry.c",
"../../include/vorbis/lib/registry.h",
"../../include/vorbis/lib/res0.c",
"../../include/vorbis/lib/scales.h",
"../../include/vorbis/lib/sharedbook.c",
"../../include/vorbis/lib/smallft.c",
"../../include/vorbis/lib/smallft.h",
"../../include/vorbis/lib/synthesis.c",
-- "../../include/vorbis/lib/tone.c",
"../../include/vorbis/lib/vorbisenc.c",
"../../include/vorbis/lib/vorbisfile.c",
"../../include/vorbis/lib/window.c",
"../../include/vorbis/lib/window.h",
"../../include/vorbis/lib/books/coupled/res_books_51.h",
"../../include/vorbis/lib/books/coupled/res_books_stereo.h",
"../../include/vorbis/lib/books/floor/floor_books.h",
"../../include/vorbis/lib/books/uncoupled/res_books_uncoupled.h",
"../../include/vorbis/lib/modes/floor_all.h",
"../../include/vorbis/lib/modes/psych_8.h",
"../../include/vorbis/lib/modes/psych_11.h",
"../../include/vorbis/lib/modes/psych_16.h",
"../../include/vorbis/lib/modes/psych_44.h",
"../../include/vorbis/lib/modes/residue_8.h",
"../../include/vorbis/lib/modes/residue_16.h",
"../../include/vorbis/lib/modes/residue_44.h",
"../../include/vorbis/lib/modes/residue_44p51.h",
"../../include/vorbis/lib/modes/residue_44u.h",
"../../include/vorbis/lib/modes/setup_8.h",
"../../include/vorbis/lib/modes/setup_11.h",
"../../include/vorbis/lib/modes/setup_16.h",
"../../include/vorbis/lib/modes/setup_22.h",
"../../include/vorbis/lib/modes/setup_32.h",
"../../include/vorbis/lib/modes/setup_44.h",
"../../include/vorbis/lib/modes/setup_44p51.h",
"../../include/vorbis/lib/modes/setup_44u.h",
"../../include/vorbis/lib/modes/setup_X.h",
}
buildoptions { "/wd4101", "/wd4244", "/wd4267", "/wd4305" }
buildoptions { "/wd6001", "/wd6011", "/wd6255", "/wd6262", "/wd6263", "/wd6297", "/wd6308", "/wd6385", "/wd6386", "/wd6387", "/wd28182" } -- /analyze
links { "ogg" }
configuration "DebugShared or ReleaseShared"
files { "../../build/genie/def/ext-vorbis.def" }
configuration {}