mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 10:56:38 +00:00
36 lines
880 B
Meson
36 lines
880 B
Meson
|
examples = [
|
||
|
'test-appsrc',
|
||
|
'test-auth',
|
||
|
'test-launch',
|
||
|
'test-mp4',
|
||
|
'test-multicast2',
|
||
|
'test-multicast',
|
||
|
'test-netclock',
|
||
|
'test-netclock-client',
|
||
|
'test-ogg',
|
||
|
'test-readme',
|
||
|
'test-record-auth',
|
||
|
'test-record',
|
||
|
'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 : [glib_dep, gst_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 : [glib_dep, gst_dep, gstnet_dep, gst_rtsp_server_dep, cgroup_dep],
|
||
|
install: false)
|
||
|
endif
|