Change log level at g_log_remove_handler
[platform/upstream/glib.git] / meson_options.txt
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
45 option('dtrace',
46        type : 'boolean',
47        value : false,
48        description : 'include tracing support for dtrace')
49
50 option('systemtap',
51        type : 'boolean',
52        value : false,
53        description : 'include tracing support for systemtap')
54
55 option('tapset_install_dir',
56        type : 'string',
57        value : '',
58        description : 'path where systemtap tapsets are installed')
59
60 option('sysprof',
61        type : 'feature',
62        value : 'disabled',
63        description : 'include tracing support for sysprof')
64
65 option('gtk_doc',
66        type : 'boolean',
67        value : false,
68        description : 'use gtk-doc to build documentation')
69
70 option('bsymbolic_functions',
71        type : 'boolean',
72        value : true,
73        description : 'link with -Bsymbolic-functions if supported')
74
75 option('force_posix_threads',
76        type : 'boolean',
77        value : false,
78        description : 'Also use posix threads in case the platform defaults to another implementation (on Windows for example)')
79
80 option('tests',
81        type : 'boolean',
82        value : true,
83        description : 'build tests')
84
85 option('installed_tests',
86        type : 'boolean',
87        value : false,
88        description : 'enable installed tests')
89
90 option('nls',
91        type : 'feature',
92        value : 'auto',
93        yield: true,
94        description : 'Enable native language support (translations)')
95
96 option('oss_fuzz',
97        type : 'feature',
98        value : 'disabled',
99        description : 'Indicate oss-fuzz build environment')
100
101 option('glib_debug',
102        type : 'feature',
103        value : 'auto',
104        yield : true,
105        description : 'Enable GLib debug infrastructure (see docs/macros.txt)')
106
107 option('glib_assert',
108        type : 'boolean',
109        value : true,
110        yield : true,
111        description : 'Enable GLib assertion (see docs/macros.txt)')
112
113 option('glib_checks',
114        type : 'boolean',
115        value : true,
116        yield : true,
117        description : 'Enable GLib checks such as API guards (see docs/macros.txt)')
118
119 option('libelf',
120        type : 'feature',
121        value : 'auto',
122        description : 'Enable support for listing and extracting from ELF resource files with gresource tool')
123
124 option('multiarch',
125        type : 'boolean',
126        value : false,
127        description : 'Install some helper executables in per-architecture locations')