meson: add tools support

Looks like the tools directory was left out during the initial port to
meson.

https://bugzilla.gnome.org/show_bug.cgi?id=789090
This commit is contained in:
Guillaume Desmottes 2017-10-17 13:07:05 +02:00 committed by Sebastian Dröge
parent 6d44c0add5
commit b3d63d613a
2 changed files with 9 additions and 1 deletions

View file

@ -304,7 +304,7 @@ configure_file(output : 'config.h', configuration : cdata)
subdir('config')
subdir('examples')
subdir('omx')
#subdir('tools')
subdir('tools')
python3 = find_program('python3')
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')

8
tools/meson.build Normal file
View file

@ -0,0 +1,8 @@
executable('listcomponents',
'listcomponents.c',
install: false,
include_directories : [configinc] + extra_inc,
dependencies : [glib_dep, gmodule_dep],
link_with: [],
c_args : gst_omx_args + extra_c_args,
)