diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-05-20 15:36:44 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-05-22 13:44:20 +0100 |
commit | 6adb5fa877a36014a05a755f1cf12d549c8f0fb3 (patch) | |
tree | 629c27f2d96635ba9bb126664314eb1f4e1357c8 /tests | |
parent | 1831a7b3e49bdaf206a613d7bdf3a48288b87735 (diff) | |
download | atk-6adb5fa877a36014a05a755f1cf12d549c8f0fb3.tar.gz |
Add Meson build system
Meson is a meta-build system that has several advantages over Autotools:
- faster
- simpler to use and understand
- portable to various platforms
- tailored to the needs of GNOME libraries
- well maintained and supported
Various other libraries in the GNOME stack have already adopted Meson in
parallel, or exclusively, including GTK+.
https://bugzilla.gnome.org/show_bug.cgi?id=782871
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 0000000..1fbb992 --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,20 @@ +tests = [ + 'testdocument', + 'testrole', + 'testrelation', + 'teststateset', + 'testvalue', +] + +foreach t: tests + bin = executable(t, t + '.c', + dependencies: libatk_dep, + include_directories: root_inc, + c_args: common_cflags + [ + '-DG_DISABLE_DEPRECATED', + ]) + test(t, bin, env: [ + 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()), + 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()), + ]) +endforeach |