pipewire/spa/examples/meson.build
Peter Hutterer 0054319d88 meson.build: add -D_GNU_SOURCE to the project arguments
This appends it to every compilation command so we can get rid of the c_args
for (almost all) executables.
2021-06-09 07:47:51 +00:00

27 lines
1.2 KiB
Meson

if sdl_dep.found()
executable('local-v4l2', 'local-v4l2.c',
include_directories : [configinc, spa_inc],
dependencies : [dl_lib, sdl_dep, pthread_lib],
install : installed_tests_enabled,
install_dir : installed_tests_execdir / 'examples' / 'spa')
if libcamera_dep.found()
executable('local-libcamera', 'local-libcamera.c',
include_directories : [configinc, spa_inc],
dependencies : [dl_lib, sdl_dep, pthread_lib, libcamera_dep],
install : installed_tests_enabled,
install_dir : installed_tests_execdir / 'examples' / 'spa')
endif
endif
executable('example-control', 'example-control.c',
include_directories : [configinc, spa_inc],
dependencies : [dl_lib, pthread_lib, mathlib],
install : installed_tests_enabled,
install_dir : installed_tests_execdir / 'examples' / 'spa')
executable('adapter-control', 'adapter-control.c',
include_directories : [configinc, spa_inc],
dependencies : [dl_lib, pthread_lib, mathlib],
install : installed_tests_enabled,
install_dir : installed_tests_execdir / 'examples' / 'spa')