| 1 |
option('runtime_libdir', |
| 2 |
type : 'string', |
| 3 |
value : '', |
| 4 |
description : 'install runtime libraries relative to libdir', |
| 5 |
deprecated: true) |
| 6 |
|
| 7 |
option('charsetalias_dir', |
| 8 |
type : 'string', |
| 9 |
value : '', |
| 10 |
description : 'directory for charset.alias dir (default to \'libdir\' if unset)') |
| 11 |
|
| 12 |
option('gio_module_dir', |
| 13 |
type : 'string', |
| 14 |
value : '', |
| 15 |
description : 'load gio modules from this directory (default to \'libdir/gio/modules\' if unset)') |
| 16 |
|
| 17 |
# FIXME: Deliberately not named runstatedir to avoid colliding with |
| 18 |
# https://github.com/mesonbuild/meson/issues/4141; port to that when Meson |
| 19 |
# supports it |
| 20 |
option('runtime_dir', |
| 21 |
type: 'string', |
| 22 |
value: '', |
| 23 |
description: 'Directory for transient runtime state [default: /run]') |
| 24 |
|
| 25 |
option('selinux', |
| 26 |
type : 'feature', |
| 27 |
value : 'auto', |
| 28 |
description : 'build with selinux support') |
| 29 |
|
| 30 |
option('xattr', |
| 31 |
type : 'boolean', |
| 32 |
value : true, |
| 33 |
description : 'build with xattr support') |
| 34 |
|
| 35 |
option('libmount', |
| 36 |
type : 'feature', |
| 37 |
value : 'auto', |
| 38 |
description : 'build with libmount support') |
| 39 |
|
| 40 |
option('man', |
| 41 |
type : 'boolean', |
| 42 |
value : false, |
| 43 |
description : 'generate man pages (requires xsltproc)', |
| 44 |
deprecated : 'man-pages') |
| 45 |
|
| 46 |
option('man-pages', |
| 47 |
type : 'feature', |
| 48 |
value : 'auto', |
| 49 |
description : 'generate man pages (requires rst2man)', |
| 50 |
deprecated : { 'true': 'enabled', 'false': 'disabled' }) |
| 51 |
|
| 52 |
option('dtrace', |
| 53 |
type : 'feature', |
| 54 |
value : 'auto', |
| 55 |
deprecated : { 'true': 'enabled', 'false': 'disabled' }, |
| 56 |
description : 'include tracing support for dtrace') |
| 57 |
|
| 58 |
option('systemtap', |
| 59 |
type : 'feature', |
| 60 |
value : 'auto', |
| 61 |
deprecated : { 'true': 'enabled', 'false': 'disabled' }, |
| 62 |
description : 'include tracing support for systemtap') |
| 63 |
|
| 64 |
option('tapset_install_dir', |
| 65 |
type : 'string', |
| 66 |
value : '', |
| 67 |
description : 'path where systemtap tapsets are installed') |
| 68 |
|
| 69 |
option('sysprof', |
| 70 |
type : 'feature', |
| 71 |
value : 'auto', |
| 72 |
yield : true, |
| 73 |
description : 'include tracing support for sysprof') |
| 74 |
|
| 75 |
option('documentation', |
| 76 |
type : 'boolean', |
| 77 |
value : false, |
| 78 |
description : 'Build API reference and tools documentation') |
| 79 |
|
| 80 |
option('gtk_doc', |
| 81 |
type : 'boolean', |
| 82 |
value : false, |
| 83 |
description : 'use gtk-doc to build documentation', |
| 84 |
deprecated : 'documentation') |
| 85 |
|
| 86 |
option('bsymbolic_functions', |
| 87 |
type : 'boolean', |
| 88 |
value : true, |
| 89 |
description : 'link with -Bsymbolic-functions if supported') |
| 90 |
|
| 91 |
option('force_posix_threads', |
| 92 |
type : 'boolean', |
| 93 |
value : false, |
| 94 |
description : 'Also use posix threads in case the platform defaults to another implementation (on Windows for example)') |
| 95 |
|
| 96 |
option('tests', |
| 97 |
type : 'boolean', |
| 98 |
value : true, |
| 99 |
description : 'build tests') |
| 100 |
|
| 101 |
option('installed_tests', |
| 102 |
type : 'boolean', |
| 103 |
value : false, |
| 104 |
description : 'enable installed tests') |
| 105 |
|
| 106 |
option('nls', |
| 107 |
type : 'feature', |
| 108 |
value : 'auto', |
| 109 |
yield: true, |
| 110 |
description : 'Enable native language support (translations)') |
| 111 |
|
| 112 |
option('oss_fuzz', |
| 113 |
type : 'feature', |
| 114 |
value : 'disabled', |
| 115 |
description : 'Indicate oss-fuzz build environment') |
| 116 |
|
| 117 |
option('glib_debug', |
| 118 |
type : 'feature', |
| 119 |
value : 'enabled', |
| 120 |
yield : true, |
| 121 |
description : 'Enable GLib debug infrastructure (distros typically want this disabled in production; see docs/macros.md)') |
| 122 |
|
| 123 |
option('glib_assert', |
| 124 |
type : 'boolean', |
| 125 |
value : true, |
| 126 |
yield : true, |
| 127 |
description : 'Enable GLib assertion (see docs/macros.md)') |
| 128 |
|
| 129 |
option('glib_checks', |
| 130 |
type : 'boolean', |
| 131 |
value : true, |
| 132 |
yield : true, |
| 133 |
description : 'Enable GLib checks such as API guards (see docs/macros.md)') |
| 134 |
|
| 135 |
option('libelf', |
| 136 |
type : 'feature', |
| 137 |
value : 'auto', |
| 138 |
description : 'Enable support for listing and extracting from ELF resource files with gresource tool') |
| 139 |
|
| 140 |
option('multiarch', |
| 141 |
type : 'boolean', |
| 142 |
value : false, |
| 143 |
description : 'Install some helper executables in per-architecture locations') |
| 144 |
|
| 145 |
option('gir_dir_prefix', |
| 146 |
type: 'string', |
| 147 |
description: 'Intermediate prefix for gir installation under ${prefix}') |
| 148 |
|
| 149 |
option('introspection', |
| 150 |
type: 'feature', |
| 151 |
value: 'auto', |
| 152 |
yield: true, |
| 153 |
description: 'Enable generating introspection data (requires gobject-introspection)') |
| 154 |
|
| 155 |
option('file_monitor_backend', |
| 156 |
type : 'combo', |
| 157 |
choices : ['auto', 'inotify', 'kqueue', 'libinotify-kqueue', 'win32'], |
| 158 |
value : 'auto', |
| 159 |
description : 'The name of the system API to use as a GFileMonitor backend') |