Add Meson build system
[platform/upstream/atk.git] / tests / meson.build
1 tests = [
2   'testdocument',
3   'testrole',
4   'testrelation',
5   'teststateset',
6   'testvalue',
7 ]
8
9 foreach t: tests
10   bin = executable(t, t + '.c',
11                    dependencies: libatk_dep,
12                    include_directories: root_inc,
13                    c_args: common_cflags + [
14                      '-DG_DISABLE_DEPRECATED',
15                    ])
16   test(t, bin, env: [
17     'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
18     'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
19   ])
20 endforeach