wayland/meson_options.txt
Pekka Paalanen e12bbe4969 doc: make DocBook validation optional
It turns out that changes in the building environment, the version of
Doxygen being a prime suspect, can break the validation. Invalid DocBook
XML does lead to likely broken documentation, but perhaps it is better
than failing to build or having to disable documentation completely.

CI turns DocBook validation on, because the CI environment is stable and
known, and we do want to catch mistakes in hand-written DocBook files.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2026-02-04 15:12:04 +00:00

28 lines
851 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('docbook_validation',
type: 'boolean',
value: false,
description: 'Validate the intermediate DocBook XML during the documentation build')
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: '')