-
Notifications
You must be signed in to change notification settings - Fork 6
/
meson.options
20 lines (17 loc) · 1.93 KB
/
meson.options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# binding options: install support for other languages besides C++
option('bind_fortran', type: 'boolean', value: false, description: 'Install Fortran bindings')
option('bind_python', type: 'boolean', value: false, description: 'Install Python bindings')
# optional installations: install additional objects, such as example executables
option('install_examples', type: 'boolean', value: false, description: 'Install examples')
option('install_documentation', type: 'boolean', value: false, description: 'Install documentation; requires `doxygen`')
# test options: control how tests are run
option('test_data_file', type: 'string', value: '', description: 'Sample HIPO file for testing. Must be an absolute path.')
option('test_num_events', type: 'string', value: '10', description: 'Number of events from `test_data_file` to test')
option('test_output_dir', type: 'string', value: '', description: 'Output directory for tests. Must be an absolute path. If unspecified, tests will still run, but will not produce output files.')
option('test_validator_all_stats', type: 'boolean', value: false, description: 'If true, use all statistics for validators, rather than `test_num_events`')
option('test_num_threads', type: 'integer', value: 4, min: 0, description: 'run multithreading tests with this many threads (use 0 for hardware max)')
# expert options: the defaults should be reasonable for a local installation; different values may be preferred for installation in common areas
option('z_install_envfile', type: 'boolean', value: true, description: 'Install a sourceable environment variable file')
option('z_require_root', type: 'boolean', value: false, description: 'Fail if ROOT is not found')
option('z_require_rcdb', type: 'boolean', value: false, description: 'Fail if RCDB is not found')
option('z_test_multithreading', type: 'boolean', value: true, description: 'Enable multithreading tests')