# -*- mode: meson -*-
-option('tests', type : 'boolean', value: 'false',
- description : 'enable tests')
+# Main options
+option('cgroup-pattern', type: 'string', value: '',
+ description: 'CGroup pattern')
-option('runtime-path', type : 'string', value : '/run',
- description : 'the runtime directory')
+option('coverity-build', type: 'boolean', value: 'true',
+ description: 'build for coverity')
-option('init-script', type : 'combo',
- choices : ['systemd', 'sysvinit', 'openrc', 'upstart'], value : 'systemd',
+option('examples', type: 'boolean', value: 'true',
+ description: 'build and install examples')
+
+option('init-script', type : 'array',
+ choices : ['systemd', 'sysvinit', 'upstart'], value : ['systemd'],
description : 'init script')
-option('apparmor-cache-dir', type : 'string', value : 'cache/lxc/apparmor',
- description : 'the AppArmor cache directory')
+option('io-uring-event-loop', type: 'boolean', value: 'false',
+ description: 'Enable io-uring based event loop')
+
+option('man', type: 'boolean', value: 'true',
+ description: 'build and install manpages')
+
+option('pam-cgroup', type: 'boolean', value: 'false',
+ description: 'build and install the pam cgroup module')
+
+option('tools', type: 'boolean', value: 'true',
+ description: 'build and install tools')
+
+option('commands', type: 'boolean', value: 'true',
+ description: 'build and install commands')
+
+option('capabilities', type: 'boolean', value: 'true',
+ description: 'use capabilities')
+
+option('seccomp', type: 'boolean', value: 'true',
+ description: 'use seccomp')
+
+option('apparmor', type: 'boolean', value: 'true',
+ description: 'use apparmor')
+
+option('openssl', type: 'boolean', value: 'true',
+ description: 'use openssl')
+
+option('selinux', type: 'boolean', value: 'true',
+ description: 'use selinux')
+
+option('tests', type: 'boolean', value: 'false',
+ description: 'build and install tests')
+
+# Paths
+option('apparmor-cache-path', type: 'string', value: 'cache/lxc/apparmor',
+ description: 'AppArmor cache directory')
-option('rootfs-mount-dir', type : 'string', value : 'lib/x86_64-linux-gnu/lxc',
- description : 'the rootfs mount directory')
+option('data-path', type: 'string', value: 'lib/lxc',
+ description: 'Container storage directory')
-option('cgroup-pattern', type : 'string', value : '',
- description : 'the rootfs mount directory')
+option('doc-path', type: 'string', value: 'doc/lxc',
+ description: 'Documentation directory')
-option('log-path', type : 'string', value : 'log/lxc',
- description : 'the rootfs mount directory')
+option('global-config-path', type: 'string', value: 'lxc',
+ description: 'Global configuration directory')
-option('config-path', type : 'string', value : 'lib/lxc',
- description : 'the rootfs mount directory')
+option('log-path', type: 'string', value: 'log/lxc',
+ description: 'Loging directory')
-option('global-config', type : 'string', value : 'lxc/lxc.conf',
- description : 'the rootfs mount directory')
+option('rootfs-mount-path', type: 'string', value: 'lxc/rootfs',
+ description: 'Container rootfs mount directory')
-option('docdir', type : 'string',
- description : 'documentation directory')
+option('runtime-path', type: 'string', value: '/run',
+ description: 'Main runtime directory')
-option('user-network-conf', type : 'string', value : 'lxc/lxc-usernet',
- description : 'user network interface configuration file')
+option('usernet-config-path', type: 'string', value: 'lxc/lxc-usernet',
+ description: 'User network configuration file path')
-option('user-network-db', type : 'string', value : 'lxc/nics',
- description : 'user network database')
+option('usernet-db-path', type: 'string', value: 'lxc/nics',
+ description: 'User network database file path')
-option('io-uring-event-loop', type : 'boolean', value: 'false',
- description : 'enable io-uring based event loop')
+option('oss-fuzz', type : 'boolean', value : 'false',
+ description : 'build against oss-fuzz')