2018-11-24 04:53:30 +03:00
|
|
|
# General options
|
|
|
|
|
|
|
|
option('bitdepths',
|
|
|
|
type: 'array',
|
2018-12-19 21:11:14 +03:00
|
|
|
choices: ['8', '16'],
|
2018-11-24 04:53:30 +03:00
|
|
|
description: 'Enable only specified bitdepths')
|
|
|
|
|
2019-07-24 20:03:48 +03:00
|
|
|
option('enable_asm',
|
2018-11-24 04:53:30 +03:00
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Build asm files, if available')
|
|
|
|
|
2019-07-24 20:03:48 +03:00
|
|
|
option('enable_tools',
|
2018-11-24 04:53:30 +03:00
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Build dav1d cli tools')
|
|
|
|
|
2019-09-23 21:02:33 +03:00
|
|
|
option('enable_examples',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Build dav1d examples')
|
|
|
|
|
2019-07-24 20:03:48 +03:00
|
|
|
option('enable_tests',
|
2018-11-24 04:53:30 +03:00
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Build dav1d tests')
|
|
|
|
|
2019-03-19 20:35:09 +03:00
|
|
|
option('logging',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Print error log messages using the provided callback function')
|
|
|
|
|
2018-11-27 17:04:37 +03:00
|
|
|
option('testdata_tests',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Run tests requiring the test data repository')
|
|
|
|
|
2018-11-24 04:53:30 +03:00
|
|
|
option('fuzzing_engine',
|
|
|
|
type: 'combo',
|
|
|
|
choices : ['none', 'libfuzzer', 'oss-fuzz'],
|
|
|
|
value: 'none',
|
|
|
|
description: 'Select the fuzzing engine')
|
2019-03-19 20:35:09 +03:00
|
|
|
|
2019-06-18 23:52:59 +03:00
|
|
|
option('fuzzer_ldflags',
|
|
|
|
type: 'string',
|
|
|
|
description: 'Extra LDFLAGS used during linking of fuzzing binaries')
|
|
|
|
|
2019-03-19 20:35:09 +03:00
|
|
|
option('stack_alignment',
|
|
|
|
type: 'integer',
|
|
|
|
value: 0)
|