meson: Build benchmarks
authorThibault Saunier <tsaunier@igalia.com>
Fri, 8 Feb 2019 21:26:19 +0000 (18:26 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 15 Mar 2019 19:18:58 +0000 (16:18 -0300)
tests/benchmarks/meson.build [new file with mode: 0644]
tests/meson.build

diff --git a/tests/benchmarks/meson.build b/tests/benchmarks/meson.build
new file mode 100644 (file)
index 0000000..68d05d4
--- /dev/null
@@ -0,0 +1,10 @@
+ges_benchmarks = ['timeline']
+
+foreach b : ges_benchmarks
+    fname = '@0@.c'.format(b)
+    executable('benchmark-' + b, fname,
+        c_args : ges_c_args,
+        include_directories : [configinc],
+        dependencies : ges_dep
+    )
+endforeach
index 160a420..0ef30b3 100644 (file)
@@ -4,3 +4,4 @@ if host_machine.system() != 'windows' and gstcheck_dep.found()
 endif
 
 subdir('validate')
+subdir('benchmarks')
\ No newline at end of file