From 2c5abff1398b5457d76c8b2f4dd8801a05701217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Mon, 13 Jun 2022 22:58:52 +0200 Subject: Add meson build system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Corentin Noël --- test/meson.build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/meson.build (limited to 'test') diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..179c1cf --- /dev/null +++ b/test/meson.build @@ -0,0 +1,17 @@ +test_names = [ + 'gkbd-indicator-test', + 'gkbd-keyboard-drawing-test', + 'gkbd-status-test', +] + +foreach test_name : test_names + test_exec = executable( + test_name, + test_name + '.c', + dependencies: libgnomekbdui_dep, + c_args: [ + '-DGNOMELOCALEDIR="@0@"'.format (get_option('prefix') / get_option('datadir') / 'locale'), + ], + build_by_default: true, + ) +endforeach -- cgit v1.2.1