67 lines
2.2 KiB
Lua
67 lines
2.2 KiB
Lua
|
|
project "lame"
|
|
uuid "b545694a-ce2a-44f8-ba88-147c36369308"
|
|
language "C"
|
|
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
|
|
mpt_projectname = "lame"
|
|
dofile "../../build/premake/premake-defaults-DLL.lua"
|
|
dofile "../../build/premake/premake-defaults.lua"
|
|
targetname "openmpt-lame"
|
|
includedirs { "../../include/lame/include" }
|
|
includedirs { "../../include/lame/mpglib" }
|
|
includedirs { "../../include/lame/libmp3lame" }
|
|
includedirs { "../../build/premake/inc/lame" }
|
|
filter {}
|
|
filter { "action:vs*" }
|
|
characterset "Unicode"
|
|
filter {}
|
|
files {
|
|
"../../include/lame/include/lame.def",
|
|
}
|
|
files {
|
|
"../../include/lame/include/lame.h",
|
|
}
|
|
files {
|
|
"../../include/lame/mpglib/common.c",
|
|
"../../include/lame/mpglib/dct64_i386.c",
|
|
"../../include/lame/mpglib/decode_i386.c",
|
|
"../../include/lame/mpglib/interface.c",
|
|
"../../include/lame/mpglib/layer1.c",
|
|
"../../include/lame/mpglib/layer2.c",
|
|
"../../include/lame/mpglib/layer3.c",
|
|
"../../include/lame/mpglib/tabinit.c",
|
|
}
|
|
files {
|
|
"../../include/lame/libmp3lame/bitstream.c",
|
|
"../../include/lame/libmp3lame/encoder.c",
|
|
"../../include/lame/libmp3lame/fft.c",
|
|
"../../include/lame/libmp3lame/gain_analysis.c",
|
|
"../../include/lame/libmp3lame/id3tag.c",
|
|
"../../include/lame/libmp3lame/lame.c",
|
|
"../../include/lame/libmp3lame/mpglib_interface.c",
|
|
"../../include/lame/libmp3lame/newmdct.c",
|
|
"../../include/lame/libmp3lame/presets.c",
|
|
"../../include/lame/libmp3lame/psymodel.c",
|
|
"../../include/lame/libmp3lame/quantize.c",
|
|
"../../include/lame/libmp3lame/quantize_pvt.c",
|
|
"../../include/lame/libmp3lame/reservoir.c",
|
|
"../../include/lame/libmp3lame/set_get.c",
|
|
"../../include/lame/libmp3lame/tables.c",
|
|
"../../include/lame/libmp3lame/takehiro.c",
|
|
"../../include/lame/libmp3lame/util.c",
|
|
"../../include/lame/libmp3lame/vbrquantize.c",
|
|
"../../include/lame/libmp3lame/VbrTag.c",
|
|
"../../include/lame/libmp3lame/version.c",
|
|
}
|
|
files {
|
|
"../../include/lame/libmp3lame/vector/xmm_quantize_sub.c",
|
|
}
|
|
defines { "HAVE_CONFIG_H", "HAVE_MPGLIB", "USE_LAYER_2" }
|
|
filter {}
|
|
filter { "action:vs*" }
|
|
buildoptions { "/wd4267", "/wd4334" }
|
|
filter {}
|
|
filter { "action:vs*" }
|
|
buildoptions { "/wd6031", "/wd6262" } -- analyze
|
|
filter {}
|