diff options
| author | James Hilliard <james.hilliard1@gmail.com> | 2020-03-03 15:27:51 -0700 |
|---|---|---|
| committer | James Hilliard <james.hilliard1@gmail.com> | 2021-04-16 03:45:06 -0600 |
| commit | 88f1605a826ca0c2ff02be6f4cf9ecabf68e8341 (patch) | |
| tree | e4957692b87b13284771aff111b79d521ed0b634 /meson_options.txt | |
| parent | meson: only require cpp for tests (diff) | |
| download | wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.tar wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.tar.gz wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.tar.bz2 wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.tar.lz wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.tar.xz wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.tar.zst wayland-88f1605a826ca0c2ff02be6f4cf9ecabf68e8341.zip | |
build: add option to disable tests
When building for a product, tests are not needed.
Besides, one test requires a C++ compiler, which is not always
available.
So, add an option to configure to disable building tests altogether.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Diffstat (limited to 'meson_options.txt')
| -rw-r--r-- | meson_options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index de588d1..4433fa0 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,6 +6,10 @@ option('scanner', description: 'Compile wayland-scanner binary', type: 'boolean', value: 'true') +option('tests', + description: 'Compile Wayland tests', + type: 'boolean', + value: 'true') option('documentation', description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)', type: 'boolean', |
