mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-04 22:57:21 +02:00

Currently this will switch the build system between using a plain D-BUS service file, or a user controllable systemd unit that can be actively stopped/started. In most cases it is more desirable to use the systemd unit approach, as plain D-BUS services cannot be controlled and are more difficult to introspect via the log. For fallback cases we'll have the plain D-BUS unit, and in future we can use this to allow untying from systemd specifics. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
12 lines
567 B
Meson
12 lines
567 B
Meson
option('with-systemd', type: 'boolean', description: 'Use systemd support (unit, etc)', value: 'true')
|
|
|
|
# systemd specific
|
|
option('with-systemd-user-unit-dir', type: 'string', description: 'Explicitly set the systemd user unit directory')
|
|
|
|
# Not using systemd
|
|
option('with-dbus-service-dir', type: 'string', description: 'Explicitly set the D-BUS session directory')
|
|
|
|
# General options
|
|
option('with-examples', type: 'boolean', description: 'Build sample programs', value: 'true')
|
|
option('with-daemon', type: 'boolean', description: 'Build the daemon', value: 'true')
|