forked from openzim/libzim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
20 lines (20 loc) · 1.29 KB
/
meson_options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
option('CLUSTER_CACHE_SIZE', type : 'string', value : '16',
description : 'set cluster cache size to number (default:16)')
option('DIRENT_CACHE_SIZE', type : 'string', value : '512',
description : 'set dirent cache size to number (default:512)')
option('DIRENT_LOOKUP_CACHE_SIZE', type : 'string', value : '1024',
description : 'set dirent lookup cache size to number (default:1024)')
option('LZMA_MEMORY_SIZE', type : 'string', value : '128',
description : 'set lzma uncompress memory in MB (default:128)')
option('USE_MMAP', type: 'boolean', value: true,
description: 'Use mmap to avoid copy from file. (default:true, always false on windows)')
option('USE_BUFFER_HEADER', type: 'boolean', value: true,
description: '''Copy (or use mmap) header index buffers. (default:true)
Header index are used to access articles, having them in memory can improve access speed but on low memory devices it may use to many memory.
If false, we directly read the index in the file at each article access.''')
option('static-linkage', type : 'boolean', value : false,
description : 'Link statically with the dependencies.')
option('doc', type : 'boolean', value : false,
description : 'Build the documentations.')
option('with_xapian', type : 'boolean', value: true,
description: 'Build libzim with xapian support')