From cef58baf9fca352c140578a21077a8ecd7d9f157 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 8 Feb 2019 18:26:19 -0300 Subject: [PATCH] meson: Build benchmarks --- tests/benchmarks/meson.build | 10 ++++++++++ tests/meson.build | 1 + 2 files changed, 11 insertions(+) create mode 100644 tests/benchmarks/meson.build diff --git a/tests/benchmarks/meson.build b/tests/benchmarks/meson.build new file mode 100644 index 0000000..68d05d4 --- /dev/null +++ b/tests/benchmarks/meson.build @@ -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 diff --git a/tests/meson.build b/tests/meson.build index 160a420..0ef30b3 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -4,3 +4,4 @@ if host_machine.system() != 'windows' and gstcheck_dep.found() endif subdir('validate') +subdir('benchmarks') \ No newline at end of file -- 2.7.4