mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
435d5a9b9e
Instead of maintaining this chunk of code and build options, the Vulkan loader can be used to load up validation. This has the advantage that no layer name needs to be hard coded inside Monado, which was subject of change recently. Instead of using our own environment variable we can easily set the one from the loader, e.g. `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`.
64 lines
1.5 KiB
Meson
64 lines
1.5 KiB
Meson
# Copyright 2019-2020, Collabora, Ltd.
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
option('drivers',
|
|
type: 'array',
|
|
choices: ['auto', 'dummy', 'hdk', 'hydra', 'ns', 'ohmd', 'psmv', 'psvr', 'rs', 'v4l2', 'vive', 'survive'],
|
|
value: ['auto'],
|
|
description: 'Set of drivers to build')
|
|
|
|
option('docs',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Build the documentation')
|
|
|
|
option('doxygen-warn-undocumented',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Configure doxygen to emit warnings for undocumented entities')
|
|
|
|
option('doxygen-extract-all',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Extract all entities for documentation, not just documented ones')
|
|
|
|
option('gui',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable GUI')
|
|
|
|
option('tracking',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable tracking support')
|
|
|
|
option('install-active-runtime',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Make Monado the default OpenXR runtime on install')
|
|
|
|
option('opengl',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable OpenGL/GLES application support.')
|
|
|
|
option('egl',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable EGL application support.')
|
|
|
|
option('xlib',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable xlib application support. Also required for direct mode on X.')
|
|
|
|
option('xcb',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable xcb support for direct mode on X.')
|
|
|
|
option('wayland',
|
|
type: 'feature',
|
|
value: 'auto',
|
|
description: 'Enable support for Wayland rendering.')
|