diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2021-07-29 23:27:11 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-09-07 10:55:43 +0000 |
commit | 77d1c243614d385027ca11f75aa5d688b01c2969 (patch) | |
tree | dc39670de7b80b887f539480153334c25ea75e88 /libmm-glib/tests | |
parent | fa19b2b9b1412d3eeb515afe41c55ac414acc982 (diff) |
build: Port to meson
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.
Diffstat (limited to 'libmm-glib/tests')
-rw-r--r-- | libmm-glib/tests/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libmm-glib/tests/meson.build b/libmm-glib/tests/meson.build new file mode 100644 index 00000000..83dd80d1 --- /dev/null +++ b/libmm-glib/tests/meson.build @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2021 Iñigo Martinez <inigomartinez@gmail.com> + +test_units = [ + 'common-helpers', + 'pco', +] + +foreach test_unit: test_units + test_name = 'test-' + test_unit + + exe = executable( + test_name, + test_name + '.c', + include_directories: top_inc, + dependencies: libmm_glib_dep, + c_args: '-DLIBMM_GLIB_COMPILATION', + ) + + test(test_name, exe) +endforeach |