glib2.0/meson_options.txt

150 lines
4.2 KiB
Meson
Raw Normal View History

2022-06-29 16:02:05 +08:00
option('runtime_libdir',
type : 'string',
value : '',
2024-02-29 14:32:35 +08:00
description : 'install runtime libraries relative to libdir',
deprecated: true)
2022-06-29 16:02:05 +08:00
option('charsetalias_dir',
type : 'string',
value : '',
description : 'directory for charset.alias dir (default to \'libdir\' if unset)')
option('gio_module_dir',
type : 'string',
value : '',
description : 'load gio modules from this directory (default to \'libdir/gio/modules\' if unset)')
2024-02-29 14:32:35 +08:00
# FIXME: Deliberately not named runstatedir to avoid colliding with
# https://github.com/mesonbuild/meson/issues/4141; port to that when Meson
# supports it
option('runtime_dir',
type: 'string',
value: '',
description: 'Directory for transient runtime state [default: /run]')
2022-06-29 16:02:05 +08:00
option('selinux',
type : 'feature',
value : 'auto',
description : 'build with selinux support')
option('xattr',
type : 'boolean',
value : true,
description : 'build with xattr support')
option('libmount',
type : 'feature',
value : 'auto',
description : 'build with libmount support')
option('man',
type : 'boolean',
value : false,
2024-05-23 15:55:40 +08:00
description : 'generate man pages (requires xsltproc)',
deprecated : 'man-pages')
option('man-pages',
type : 'feature',
value : 'auto',
description : 'generate man pages (requires rst2man)',
deprecated : { 'true': 'enabled', 'false': 'disabled' })
2022-06-29 16:02:05 +08:00
option('dtrace',
type : 'boolean',
value : false,
description : 'include tracing support for dtrace')
option('systemtap',
type : 'boolean',
value : false,
description : 'include tracing support for systemtap')
option('tapset_install_dir',
type : 'string',
value : '',
description : 'path where systemtap tapsets are installed')
2023-02-14 16:00:02 +08:00
option('sysprof',
type : 'feature',
value : 'disabled',
description : 'include tracing support for sysprof')
2024-05-23 15:55:40 +08:00
option('documentation',
type : 'boolean',
value : false,
description : 'Build API reference and tools documentation')
2022-06-29 16:02:05 +08:00
option('gtk_doc',
type : 'boolean',
value : false,
2024-05-23 15:55:40 +08:00
description : 'use gtk-doc to build documentation',
deprecated : 'documentation')
2022-06-29 16:02:05 +08:00
option('bsymbolic_functions',
type : 'boolean',
value : true,
description : 'link with -Bsymbolic-functions if supported')
option('force_posix_threads',
type : 'boolean',
value : false,
description : 'Also use posix threads in case the platform defaults to another implementation (on Windows for example)')
2023-02-14 16:00:02 +08:00
option('tests',
2022-06-29 16:02:05 +08:00
type : 'boolean',
2023-02-14 16:00:02 +08:00
value : true,
description : 'build tests')
2022-06-29 16:02:05 +08:00
option('installed_tests',
type : 'boolean',
value : false,
description : 'enable installed tests')
option('nls',
type : 'feature',
value : 'auto',
yield: true,
description : 'Enable native language support (translations)')
option('oss_fuzz',
type : 'feature',
value : 'disabled',
description : 'Indicate oss-fuzz build environment')
2023-02-14 16:00:02 +08:00
option('glib_debug',
type : 'feature',
value : 'auto',
yield : true,
description : 'Enable GLib debug infrastructure (see docs/macros.txt)')
option('glib_assert',
type : 'boolean',
value : true,
yield : true,
description : 'Enable GLib assertion (see docs/macros.txt)')
option('glib_checks',
type : 'boolean',
value : true,
yield : true,
description : 'Enable GLib checks such as API guards (see docs/macros.txt)')
option('libelf',
type : 'feature',
value : 'auto',
description : 'Enable support for listing and extracting from ELF resource files with gresource tool')
option('multiarch',
type : 'boolean',
value : false,
description : 'Install some helper executables in per-architecture locations')
2024-05-23 15:55:40 +08:00
option('gir_dir_prefix',
type: 'string',
description: 'Intermediate prefix for gir installation under ${prefix}')
option('introspection',
type: 'feature',
value: 'auto',
description: 'Enable generating introspection data (requires gobject-introspection)')