meson: add clutter gl examples to Meson build
This commit is contained in:
parent
6c2893d00a
commit
900be507f9
20
tests/examples/gl/clutter/meson.build
Normal file
20
tests/examples/gl/clutter/meson.build
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
clutter_dep = dependency('clutter-1.0', version: '>= 1.8', required: get_option('examples'))
|
||||||
|
if clutter_dep.found()
|
||||||
|
# works on win32 and X
|
||||||
|
executable('cluttershare', 'cluttershare.c',
|
||||||
|
dependencies : [gstgl_dep, gl_dep, video_dep, clutter_dep],
|
||||||
|
install: false)
|
||||||
|
|
||||||
|
clutter_glx_dep = dependency('clutter-glx-1.0', version: '>= 1.8', required: get_option('examples'))
|
||||||
|
clutter_x11_dep = dependency('clutter-x11-1.0', version: '>= 1.8', required: get_option('examples'))
|
||||||
|
xcomposite_dep = dependency('xcomposite', required: get_option('examples'))
|
||||||
|
|
||||||
|
if clutter_glx_dep.found() and clutter_x11_dep.found() and xcomposite_dep.found()
|
||||||
|
executable('clutteractor', 'clutteractor.c',
|
||||||
|
dependencies : [gstgl_dep, gl_dep, video_dep, clutter_dep, clutter_glx_dep, clutter_x11_dep, xcomposite_dep],
|
||||||
|
install: false)
|
||||||
|
executable('clutteractortee', 'clutteractortee.c',
|
||||||
|
dependencies : [gstgl_dep, gl_dep, video_dep, clutter_dep, clutter_glx_dep, clutter_x11_dep, xcomposite_dep],
|
||||||
|
install: false)
|
||||||
|
endif
|
||||||
|
endif
|
@ -1,7 +1,6 @@
|
|||||||
# FIXME - Add other missing examples!
|
subdir('clutter')
|
||||||
#subdir('clutter')
|
# FIXME: subdir('cocoa')
|
||||||
#subdir('cocoa')
|
|
||||||
subdir('generic')
|
subdir('generic')
|
||||||
subdir('gtk', if_found : gtk_dep)
|
subdir('gtk', if_found : gtk_dep)
|
||||||
#subdir('qt')
|
# FIXME: subdir('qt')
|
||||||
subdir('sdl')
|
subdir('sdl')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user