]> git.proxmox.com Git - mirror_lxc.git/blob - meson_options.txt
CONTRIBUTING: add a note on AI generated code
[mirror_lxc.git] / meson_options.txt
1 # -*- mode: meson -*-
2
3 # Main options
4 # was --cgroup-pattern in autotools
5 option('cgroup-pattern', type: 'string', value: '',
6 description: 'CGroup pattern')
7
8 # was --coverity-build in autotools
9 option('coverity-build', type: 'boolean', value: 'true',
10 description: 'build for coverity')
11
12 # was --{disable,enable}-examples in autotools
13 option('examples', type: 'boolean', value: 'true',
14 description: 'build and install examples')
15
16 # was --init-script in autotools
17 option('init-script', type : 'array',
18 choices : ['systemd', 'sysvinit', 'upstart'], value : ['systemd'],
19 description : 'init script')
20
21 # was --systemd-unidir in autotools
22 # If set to "", the value is taken from the running systemd instance.
23 option('systemd-unitdir', type : 'string', value: '',
24 description : 'systemd system unit directory')
25
26 # was --{disable,enable}-liburing in autotools
27 option('io-uring-event-loop', type: 'boolean', value: 'false',
28 description: 'Enable io-uring based event loop')
29
30 # was --{disable,enable}-doc in autotools
31 option('man', type: 'boolean', value: 'true',
32 description: 'build and install manpages')
33
34 # was --{disable,enable}-pam in autotools
35 option('pam-cgroup', type: 'boolean', value: 'false',
36 description: 'build and install the pam cgroup module')
37
38 # was --{disable,enable}-tools in autotools
39 option('tools', type: 'boolean', value: 'true',
40 description: 'build and install tools')
41
42 option('tools-multicall', type: 'boolean', value: 'false',
43 description: 'build and install busybox style multicall binary')
44
45 # was --{disable,enable}-commands in autotools
46 option('commands', type: 'boolean', value: 'true',
47 description: 'build and install commands')
48
49 # was --{disable,enable}-capabilities in autotools
50 option('capabilities', type: 'boolean', value: 'true',
51 description: 'use capabilities')
52
53 # was --{disable,enable}-seccomp in autotools
54 option('seccomp', type: 'boolean', value: 'true',
55 description: 'use seccomp')
56
57 # was --{disable,enable}-apparmor in autotools
58 option('apparmor', type: 'boolean', value: 'true',
59 description: 'use apparmor')
60
61 # was --{disable,enable}-openssl in autotools
62 option('openssl', type: 'boolean', value: 'true',
63 description: 'use openssl')
64
65 # was --{disable,enable}-selinux in autotools
66 option('selinux', type: 'boolean', value: 'true',
67 description: 'use selinux')
68
69 # was --{disable,enable}-tests in autotools
70 option('tests', type: 'boolean', value: 'false',
71 description: 'build and install tests')
72
73 # Paths
74 # was --apparmor-cache-dir in autotools
75 option('apparmor-cache-path', type: 'string', value: 'cache/lxc/apparmor',
76 description: 'AppArmor cache directory')
77
78 # was --with-config-path in autotools
79 option('data-path', type: 'string', value: 'lib/lxc',
80 description: 'Container storage directory')
81
82 # was --with-doc-dir in autotools
83 option('doc-path', type: 'string', value: 'doc/lxc',
84 description: 'Documentation directory')
85
86 # was --with-global-conf in autotools
87 option('global-config-path', type: 'string', value: 'lxc',
88 description: 'Global configuration directory')
89
90 # was --log-path in autotools
91 option('log-path', type: 'string', value: 'log/lxc',
92 description: 'Loging directory')
93
94 # was --with-rootfs-path in autotools
95 option('rootfs-mount-path', type: 'string', value: 'lxc/rootfs',
96 description: 'Container rootfs mount directory')
97
98 # was --with-runtime-path in autotools
99 option('runtime-path', type: 'string', value: '/run',
100 description: 'Main runtime directory')
101
102 # was --with-usernic-conf in autotools
103 option('usernet-config-path', type: 'string', value: 'lxc/lxc-usernet',
104 description: 'User network configuration file path')
105
106 # was --with-usernic-db in autotools
107 option('usernet-db-path', type: 'string', value: 'lxc/nics',
108 description: 'User network database file path')
109
110 option('oss-fuzz', type : 'boolean', value : 'false',
111 description : 'build against oss-fuzz')
112
113 # was --{disable,enable}-thread-safety in autotools
114 option('thread-safety', type : 'boolean', value : 'true',
115 description : 'whether the build fails when thread-safe logging cannot be guaranteed')
116
117 # was --{disable,enable}-memfd-rexec in autotools
118 option('memfd-rexec', type : 'boolean', value : 'true',
119 description : 'whether to rexec the lxc-attach binary when attaching to a container')
120
121 option('distrosysconfdir', type : 'string', value: '',
122 description: 'relative path to sysconfdir for distro default configuration')
123
124 option('dbus', type: 'boolean', value: 'true',
125 description: 'use dbus')
126