wayland/meson_options.txt
James Hilliard 88f1605a82 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>
2021-04-16 03:45:06 -06:00

25 lines
710 B
Meson

option('libraries',
description: 'Compile Wayland libraries',
type: 'boolean',
value: 'true')
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',
value: 'true')
option('dtd_validation',
description: 'Validate the protocol DTD (requires libxml2)',
type: 'boolean',
value: 'true')
option('icon_directory',
description: 'Location used to look for cursors (defaults to ${datadir}/icons if unset)',
type: 'string',
value: '')