diff options
author | Scott Anderson <scott@anderso.nz> | 2018-08-22 19:41:53 +1200 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2018-08-22 19:41:53 +1200 |
commit | 3fa3dca6d583cf809a8d8d47a44ac17a5048e4e5 (patch) | |
tree | 59bb32fe46974ee684d734d5fe1ef4300dcd7bd4 | |
parent | 66064a07a6830295c687706c7f8f1c1841998a3d (diff) |
Add new feature options
Bump minimum meson version to 0.47 for the feature.
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | meson_options.txt | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 655eb52d..502616ca 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'c', version: '0.0.1', license: 'MIT', - meson_version: '>=0.44.0', + meson_version: '>=0.47.0', default_options: [ 'c_std=c11', 'warning_level=2', diff --git a/meson_options.txt b/meson_options.txt index e474b8aa..918d7e98 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,3 +6,13 @@ option('enable-xwayland', type: 'boolean', value: true, description: 'Enable sup option('enable-x11_backend', type: 'boolean', value: true, description: 'Enable X11 backend') option('enable-rootston', type: 'boolean', value: true, description: 'Build the rootston example compositor') option('enable-examples', type: 'boolean', value: true, description: 'Build example applications') +option('libcap', type: 'feature', value: 'auto', description: 'Enable support for rootless session via capabilities (cap_sys_admin)') +option('logind', type: 'feature', value: 'auto', description: 'Enable support for rootless session via logind') +option('logind-provider', type: 'combo', choices: ['systemd', 'elogind'], value: 'systemd', description: 'Provider of logind support library') +option('xcb-errors', type: 'feature', value: 'auto', description: 'Use xcb-errors util library') +option('xcb-icccm', type: 'feature', value: 'auto', description: 'Use xcb-icccm util library') +option('xcb-xkb', type: 'feature', value: 'auto', description: 'Use xcb-xkb util library') +option('xwayland', type: 'feature', value: 'auto', description: 'Enable support for X11 applications') +option('x11-backend', type: 'feature', value: 'auto', description: 'Enable X11 backend') +option('rootston', type: 'boolean', value: true, description: 'Build the rootston example compositor') +option('examples', type: 'boolean', value: true, description: 'Build example applications') |