Add FFmpeg plugin

This commit is contained in:
SirLynix
2022-05-19 12:51:26 +02:00
committed by Jérôme Leclercq
parent ca23942d36
commit d335c5d73c
8 changed files with 544 additions and 11 deletions

23
plugins/FFmpeg/xmake.lua Normal file
View File

@@ -0,0 +1,23 @@
option("ffmpeg")
set_default(false)
set_showmenu(true)
set_description("Build FFmpeg plugin")
option_end()
if has_config("ffmpeg") then
add_requires("ffmpeg", { configs = { shared = true } })
target("PluginFFmpeg")
set_kind("shared")
set_group("Plugins")
add_rpathdirs("$ORIGIN")
add_deps("NazaraUtility")
add_packages("ffmpeg")
add_headerfiles("**.hpp")
add_headerfiles("**.inl")
add_includedirs(".")
add_files("**.cpp")
end