mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
4eb64cd276
The three targets are the same except for input and output files, use a loop and generate them dynamically. https://bugzilla.gnome.org/show_bug.cgi?id=773917
14 lines
359 B
Meson
14 lines
359 B
Meson
tools = [ 'gst-inspect', 'gst-launch','gst-typefind' ]
|
|
|
|
foreach tool : tools
|
|
exe_name = '@0@-@1@'.format(tool, apiversion)
|
|
src_file = '@0@.c'.format(tool)
|
|
|
|
executable(exe_name,
|
|
src_file,
|
|
install: true,
|
|
dependencies : [glib_dep, gobject_dep, gmodule_dep, mathlib, gst_dep],
|
|
link_with: [printf_lib],
|
|
c_args: gst_c_args,
|
|
)
|
|
endforeach
|