From d53b38c8127d39619c4ce2b0f74cb90df495e477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 19 Sep 2018 10:49:56 +0100 Subject: [PATCH] meson: add generic gl examples to Meson build --- tests/examples/gl/generic/cube/meson.build | 5 +++++ tests/examples/gl/generic/cubeyuv/meson.build | 5 +++++ tests/examples/gl/generic/doublecube/meson.build | 5 +++++ tests/examples/gl/generic/meson.build | 5 +++++ tests/examples/gl/generic/recordgraphic/meson.build | 5 +++++ tests/examples/gl/meson.build | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/examples/gl/generic/cube/meson.build create mode 100644 tests/examples/gl/generic/cubeyuv/meson.build create mode 100644 tests/examples/gl/generic/doublecube/meson.build create mode 100644 tests/examples/gl/generic/meson.build create mode 100644 tests/examples/gl/generic/recordgraphic/meson.build diff --git a/tests/examples/gl/generic/cube/meson.build b/tests/examples/gl/generic/cube/meson.build new file mode 100644 index 0000000000..edb62460b5 --- /dev/null +++ b/tests/examples/gl/generic/cube/meson.build @@ -0,0 +1,5 @@ +if have_cxx + executable('cube', 'main.cpp', + dependencies : [gstgl_dep, gl_dep], + install: false) +endif diff --git a/tests/examples/gl/generic/cubeyuv/meson.build b/tests/examples/gl/generic/cubeyuv/meson.build new file mode 100644 index 0000000000..38a43c9bf3 --- /dev/null +++ b/tests/examples/gl/generic/cubeyuv/meson.build @@ -0,0 +1,5 @@ +if have_cxx + executable('cubeyuv', 'main.cpp', + dependencies : [gstgl_dep, gl_dep], + install: false) +endif diff --git a/tests/examples/gl/generic/doublecube/meson.build b/tests/examples/gl/generic/doublecube/meson.build new file mode 100644 index 0000000000..7c523e2dcb --- /dev/null +++ b/tests/examples/gl/generic/doublecube/meson.build @@ -0,0 +1,5 @@ +if have_cxx + executable('doublecube', 'main.cpp', + dependencies : [gstgl_dep, gl_dep], + install: false) +endif diff --git a/tests/examples/gl/generic/meson.build b/tests/examples/gl/generic/meson.build new file mode 100644 index 0000000000..9944e6c989 --- /dev/null +++ b/tests/examples/gl/generic/meson.build @@ -0,0 +1,5 @@ +# TODO :get rid of pointless subdirs +subdir('cube') +subdir('cubeyuv') +subdir('doublecube') +subdir('recordgraphic') diff --git a/tests/examples/gl/generic/recordgraphic/meson.build b/tests/examples/gl/generic/recordgraphic/meson.build new file mode 100644 index 0000000000..938aa37d99 --- /dev/null +++ b/tests/examples/gl/generic/recordgraphic/meson.build @@ -0,0 +1,5 @@ +if have_cxx + executable('recordgraphic', 'main.cpp', + dependencies : [gstgl_dep, gl_dep], + install: false) +endif diff --git a/tests/examples/gl/meson.build b/tests/examples/gl/meson.build index 5bb627edad..e5f9bdedf6 100644 --- a/tests/examples/gl/meson.build +++ b/tests/examples/gl/meson.build @@ -1,7 +1,7 @@ # FIXME - Add other missing examples! #subdir('clutter') #subdir('cocoa') -#subdir('generic') +subdir('generic') subdir('gtk', if_found : gtk_dep) #subdir('qt') subdir('sdl')