2020-01-25 14:36:31 +00:00
|
|
|
# Copyright 2019-2020, Collabora, Ltd.
|
2019-09-24 13:43:43 +00:00
|
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
|
|
|
|
option('drivers',
|
|
|
|
type: 'array',
|
2020-12-04 16:43:46 +00:00
|
|
|
choices: ['auto', 'dummy', 'hdk', 'hydra', 'ns', 'ohmd', 'psmv', 'psvr', 'rs', 'v4l2', 'vf', 'vive', 'wmr', 'survive', 'daydream', 'arduino', 'remote', 'handtracking', 'qwerty', 'ulv2'],
|
2019-09-24 13:43:43 +00:00
|
|
|
value: ['auto'],
|
|
|
|
description: 'Set of drivers to build')
|
|
|
|
|
|
|
|
option('docs',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description: 'Build the documentation')
|
|
|
|
|
2021-01-07 21:13:14 +00:00
|
|
|
option('tests',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description: 'Build the tests')
|
|
|
|
|
2019-09-24 13:43:43 +00:00
|
|
|
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',
|
2021-03-24 17:04:32 +00:00
|
|
|
description: 'Enable camera tracking support (disabling this will disable OpenCV support)')
|
2019-09-24 13:43:43 +00:00
|
|
|
|
|
|
|
option('install-active-runtime',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Make Monado the default OpenXR runtime on install')
|
2020-01-14 18:21:23 +00:00
|
|
|
|
|
|
|
option('opengl',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
2020-07-16 22:22:59 +00:00
|
|
|
description: 'Enable OpenGL application support.')
|
|
|
|
|
|
|
|
option('opengles',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description: 'Enable OpenGL|ES application support.')
|
2020-01-14 18:21:23 +00:00
|
|
|
|
|
|
|
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.')
|
2020-07-14 00:15:27 +00:00
|
|
|
|
2020-10-04 23:07:14 +00:00
|
|
|
option('dbus',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description: 'Enable support for dbus.')
|
|
|
|
|
2020-10-21 20:18:57 +00:00
|
|
|
option('libbsd',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description: 'Enable support for libbsd.')
|
|
|
|
|
2020-10-14 20:52:19 +00:00
|
|
|
option('systemd',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description: 'Enable systemd support (for socket activation of service)')
|
|
|
|
|
2020-07-14 00:15:27 +00:00
|
|
|
option('service',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Enable separate service module for OpenXR runtime'
|
|
|
|
)
|
2020-08-14 14:24:43 +00:00
|
|
|
|
2021-05-10 15:05:09 +00:00
|
|
|
option('tracing',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Enable Perfetto/Percetto tracing'
|
|
|
|
)
|
|
|
|
|
2020-08-14 14:24:43 +00:00
|
|
|
option('layer_depth',
|
|
|
|
type: 'boolean',
|
2020-08-24 00:08:54 +00:00
|
|
|
value: true,
|
2020-08-14 14:24:43 +00:00
|
|
|
description: 'Enable support for Depth Layers'
|
|
|
|
)
|
|
|
|
|
|
|
|
option('layer_cube',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Enable support for Cube Layers'
|
|
|
|
)
|
|
|
|
|
|
|
|
option('layer_cylinder',
|
|
|
|
type: 'boolean',
|
2020-08-26 14:00:02 +00:00
|
|
|
value: true,
|
2020-08-14 14:24:43 +00:00
|
|
|
description: 'Enable support for Cylinder Layers'
|
|
|
|
)
|
|
|
|
|
2020-12-02 13:18:00 +00:00
|
|
|
option('layer_equirect1',
|
2020-08-14 14:24:43 +00:00
|
|
|
type: 'boolean',
|
2020-12-02 13:18:00 +00:00
|
|
|
value: true,
|
|
|
|
description: 'Enable support for legacy Equirect Layers'
|
2020-08-14 14:24:43 +00:00
|
|
|
)
|
2020-10-09 14:32:20 +00:00
|
|
|
|
|
|
|
option('layer_equirect2',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Enable support for Equirect2 Layers'
|
|
|
|
)
|
2020-06-10 13:48:43 +00:00
|
|
|
|
|
|
|
option('steamvr_plugin',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Enable SteamVR Plugin'
|
|
|
|
)
|
|
|
|
|
2020-12-18 10:17:48 +00:00
|
|
|
option('color_log',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Log in color'
|
|
|
|
)
|