mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
meson: Build gl/sdl examples
This commit is contained in:
parent
a4834c4352
commit
dea918a835
2 changed files with 23 additions and 0 deletions
7
tests/examples/gl/meson.build
Normal file
7
tests/examples/gl/meson.build
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# FIXME - Add other missing examples!
|
||||||
|
#subdir('clutter')
|
||||||
|
#subdir('cocoa')
|
||||||
|
#subdir('generic')
|
||||||
|
#subdir('gtk')
|
||||||
|
#subdir('qt')
|
||||||
|
subdir('sdl')
|
16
tests/examples/gl/sdl/meson.build
Normal file
16
tests/examples/gl/sdl/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
sdl_dep = dependency('sdl', version : '>=1.2.0', required : false)
|
||||||
|
if sdl_dep.found() and build_gstgl
|
||||||
|
executable('sdlshare',
|
||||||
|
'sdlshare.c',
|
||||||
|
install: false,
|
||||||
|
dependencies : [gstbase_dep, gstgl_dep, sdl_dep, gl_dep],
|
||||||
|
c_args : ['-DGST_USE_UNSTABLE_API', ],
|
||||||
|
)
|
||||||
|
|
||||||
|
executable('sdlshare2',
|
||||||
|
'sdlshare2.c',
|
||||||
|
install: false,
|
||||||
|
dependencies : [gstbase_dep, gstgl_dep, sdl_dep, gl_dep],
|
||||||
|
c_args : ['-DGST_USE_UNSTABLE_API', ],
|
||||||
|
)
|
||||||
|
endif
|
Loading…
Reference in a new issue