diff options
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | meson_options.txt | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 9fce5d6..61bc93d 100644 --- a/meson.build +++ b/meson.build @@ -61,4 +61,6 @@ install_data('at-spi2-atk.desktop', subdir('droute') subdir('atk-adaptor') -subdir('tests') +if get_option('tests') + subdir('tests') +endif diff --git a/meson_options.txt b/meson_options.txt index 24c9228..a4abdc2 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -2,3 +2,7 @@ option('disable_p2p', description: 'Disable peer-to-peer DBus connections', type: 'boolean', value: false) +option('tests', + description: 'Whether to build tests', + type: 'boolean', + value: true) |