winamp/Src/external_dependencies/openmpt-trunk/build/premake/ext-opusfile.lua

40 lines
1.0 KiB
Lua
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
project "opusfile"
uuid "f8517509-9317-4a46-b5ed-06ae5a399e6c"
language "C"
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
mpt_projectname = "opusfile"
dofile "../../build/premake/premake-defaults-LIBorDLL.lua"
dofile "../../build/premake/premake-defaults.lua"
targetname "openmpt-opusfile"
local extincludedirs = {
"../../include/ogg/include",
"../../include/opus/include",
}
filter { "action:vs*" }
includedirs ( extincludedirs )
filter { "not action:vs*" }
sysincludedirs ( extincludedirs )
filter {}
includedirs {
"../../include/opusfile/include",
}
filter {}
filter { "action:vs*" }
characterset "Unicode"
filter {}
files {
"../../include/opusfile/include/opusfile.h",
}
files {
"../../include/opusfile/src/*.c",
"../../include/opusfile/src/*.h",
}
links { "ogg", "opus" }
filter { "action:vs*" }
buildoptions { "/wd4267" }
filter {}
filter { "kind:SharedLib" }
files { "../../build/premake/def/ext-opusfile.def" }
filter {}