wireplumber/meson_options.txt
Tom A. Wagner 7586d4d858 meson: Add options to configure whether to build daemon, tools and modules.
This adds three meson options to enable or disable building daemon, tools, and modules.

Building the daemon or tools depends on building the modules, and disabling modules without disabling
the other two will result in meson giving an appropriate error.

These new options will let users skip building and installing unneeded items when they are not needed,
e.g. when only using the C API in another application.
2022-11-23 10:06:11 +00:00

39 lines
1.8 KiB
Meson

option('introspection', type : 'feature', value : 'auto',
description : 'Generate gobject-introspection bindings')
option('doc', type : 'feature', value : 'auto',
description: 'Enable documentation.')
option('modules', type : 'boolean', value: 'true',
description : 'Build modules')
option('daemon', type : 'boolean', value: 'true',
description : 'Build session manager daemon')
option('tools', type : 'boolean', value: 'true',
description : 'Build CLI tools')
option('system-lua', type : 'boolean', value : 'false',
description : 'Use lua from the system instead of the bundled one')
option('system-lua-version',
type: 'string', value : 'auto',
description: 'The system lua version to use or "auto" for auto-detection')
option('elogind',
type: 'feature', value : 'auto',
description: 'Enable elogind integration')
option('systemd',
type: 'feature', value: 'auto',
description: 'Enable installing systemd units & logind integration')
option('systemd-system-service',
type : 'boolean', value : false,
description: 'Install systemd system service file')
option('systemd-user-service',
type : 'boolean', value : true,
description: 'Install systemd user service file')
option('systemd-system-unit-dir',
type : 'string',
description : 'Directory for system systemd units')
option('systemd-user-unit-dir',
type : 'string',
description : 'Directory for user systemd units')
option('glib-supp', type : 'string', value : '',
description: 'The glib.supp valgrind suppressions file to be used when running valgrind')
option('tests', type : 'boolean', value : 'true',
description : 'Build the test suite')
option('dbus-tests', type : 'boolean', value : 'true',
description: 'Enable running tests that need a dbus-daemon')