gstreamer/subprojects/gst-rtsp-server/examples/meson.build

46 lines
1.1 KiB
Meson
Raw Normal View History

if get_option('examples').disabled() or static_build
subdir_done()
endif
examples = [
'test-appsrc',
'test-appsrc2',
'test-auth',
2018-06-19 23:35:47 +00:00
'test-auth-digest',
'test-launch',
'test-mp4',
'test-multicast2',
'test-multicast',
'test-netclock',
'test-netclock-client',
'test-ogg',
'test-onvif-backchannel',
'test-onvif-client',
'test-onvif-server',
'test-readme',
'test-record-auth',
'test-record',
'test-replay-server',
'test-sdp',
'test-uri',
'test-video',
'test-video-rtx',
]
foreach example : examples
executable(example, '@0@.c'.format(example),
c_args : rtspserver_args,
include_directories : rtspserver_incs,
dependencies : [gst_dep, gstapp_dep, gstnet_dep, gst_rtsp_server_dep],
install: false)
endforeach
cgroup_dep = dependency('libcgroup', version : '>= 0.26', required : false)
if cgroup_dep.found()
executable('test-cgroups', 'test-cgroups.c',
c_args : rtspserver_args,
include_directories : rtspserver_incs,
dependencies : [gst_dep, gstnet_dep, gst_rtsp_server_dep, cgroup_dep],
install: false)
endif