meson: add generic gl examples to Meson build

This commit is contained in:
Tim-Philipp Müller 2018-09-19 10:49:56 +01:00
parent 982b212485
commit d53b38c812
6 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,5 @@
if have_cxx
executable('cube', 'main.cpp',
dependencies : [gstgl_dep, gl_dep],
install: false)
endif

View file

@ -0,0 +1,5 @@
if have_cxx
executable('cubeyuv', 'main.cpp',
dependencies : [gstgl_dep, gl_dep],
install: false)
endif

View file

@ -0,0 +1,5 @@
if have_cxx
executable('doublecube', 'main.cpp',
dependencies : [gstgl_dep, gl_dep],
install: false)
endif

View file

@ -0,0 +1,5 @@
# TODO :get rid of pointless subdirs
subdir('cube')
subdir('cubeyuv')
subdir('doublecube')
subdir('recordgraphic')

View file

@ -0,0 +1,5 @@
if have_cxx
executable('recordgraphic', 'main.cpp',
dependencies : [gstgl_dep, gl_dep],
install: false)
endif

View file

@ -1,7 +1,7 @@
# FIXME - Add other missing examples! # FIXME - Add other missing examples!
#subdir('clutter') #subdir('clutter')
#subdir('cocoa') #subdir('cocoa')
#subdir('generic') subdir('generic')
subdir('gtk', if_found : gtk_dep) subdir('gtk', if_found : gtk_dep)
#subdir('qt') #subdir('qt')
subdir('sdl') subdir('sdl')