Imported Upstream version 2.68.3
[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
6 option('iconv',
7        type : 'combo',
8        choices : ['auto', 'libc', 'external'],
9        value : 'auto',
10        description : 'iconv implementation to use (\'libc\' = \'Part of the C library\'; \'external\' = \'External libiconv\'; \'auto\' = \'Auto-detect which iconv is available\')')
11
12 option('charsetalias_dir',
13        type : 'string',
14        value : '',
15        description : 'directory for charset.alias dir (default to \'libdir\' if unset)')
16
17 option('gio_module_dir',
18        type : 'string',
19        value : '',
20        description : 'load gio modules from this directory (default to \'libdir/gio/modules\' if unset)')
21
22 option('selinux',
23        type : 'feature',
24        value : 'auto',
25        description : 'build with selinux support')
26
27 option('xattr',
28        type : 'boolean',
29        value : true,
30        description : 'build with xattr support')
31
32 option('libmount',
33        type : 'feature',
34        value : 'auto',
35        description : 'build with libmount support')
36
37 option('internal_pcre',
38        type : 'boolean',
39        value : false,
40        description : 'whether to use internal PCRE')
41
42 option('man',
43        type : 'boolean',
44        value : false,
45        description : 'generate man pages (requires xsltproc)')
46
47 option('dtrace',
48        type : 'boolean',
49        value : false,
50        description : 'include tracing support for dtrace')
51
52 option('systemtap',
53        type : 'boolean',
54        value : false,
55        description : 'include tracing support for systemtap')
56
57 option('tapset_install_dir',
58        type : 'string',
59        value : '',
60        description : 'path where systemtap tapsets are installed')
61
62 option('sysprof',
63        type : 'feature',
64        value : 'disabled',
65        description : 'include tracing support for sysprof')
66
67 option('gtk_doc',
68        type : 'boolean',
69        value : false,
70        description : 'use gtk-doc to build documentation')
71
72 option('bsymbolic_functions',
73        type : 'boolean',
74        value : true,
75        description : 'link with -Bsymbolic-functions if supported')
76
77 option('force_posix_threads',
78        type : 'boolean',
79        value : false,
80        description : 'Also use posix threads in case the platform defaults to another implementation (on Windows for example)')
81
82 option('fam',
83        type : 'boolean',
84        value : false,
85        description : 'Use fam for file system monitoring')
86
87 option('tests',
88        type : 'boolean',
89        value : true,
90        description : 'build tests')
91
92 option('installed_tests',
93        type : 'boolean',
94        value : false,
95        description : 'enable installed tests')
96
97 option('nls',
98        type : 'feature',
99        value : 'auto',
100        yield: true,
101        description : 'Enable native language support (translations)')
102
103 option('oss_fuzz',
104        type : 'feature',
105        value : 'disabled',
106        description : 'Indicate oss-fuzz build environment')
107
108 option('glib_debug',
109        type : 'feature',
110        value : 'auto',
111        yield : true,
112        description : 'Enable GLib debug infrastructure (see docs/macros.txt)')
113
114 option('glib_assert',
115        type : 'boolean',
116        value : true,
117        yield : true,
118        description : 'Enable GLib assertion (see docs/macros.txt)')
119
120 option('glib_checks',
121        type : 'boolean',
122        value : true,
123        yield : true,
124        description : 'Enable GLib checks such as API guards (see docs/macros.txt)')
125
126 option('libelf',
127        type : 'feature',
128        value : 'auto',
129        description : 'Enable support for listing and extracting from ELF resource files with gresource tool')