gstreamer/tests/examples/meson.build
U. Artie Eoff 97aabe8784 tests: move examples and tests to subfolders
This makes way for adding unit (check) tests.
2019-10-16 12:48:24 -07:00

28 lines
702 B
Meson

examples = [
'test-vaapisink',
'test-vaapipostproc',
'test-roi',
]
foreach example : examples
executable(example, '@0@.c'.format(example),
c_args : gstreamer_vaapi_args,
include_directories: [configinc, libsinc],
dependencies : [gst_dep, gstvideo_dep],
install: false)
endforeach
if USE_X11
if gtk_dep.found()
executable('test-vaapicontext', 'test-vaapicontext.c',
c_args : gstreamer_vaapi_args,
include_directories: [configinc, libsinc],
dependencies : [ gst_dep,
gstvideo_dep,
libva_dep,
x11_dep,
gtk_dep,
libva_x11_dep ],
install: false)
endif
endif