Add FFmpeg plugin
This commit is contained in:
committed by
Jérôme Leclercq
parent
ca23942d36
commit
d335c5d73c
23
plugins/FFmpeg/xmake.lua
Normal file
23
plugins/FFmpeg/xmake.lua
Normal 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
|
||||
Reference in New Issue
Block a user