Tim-Philipp Müller | c2b542b | 2016-03-19 15:40:22 +0000 | [diff] [blame] | 1 | # Optimizations |
| 2 | option('fixed-point', type : 'boolean', value : false, description : 'Compile without floating point (for machines without a fast enough FPU') |
| 3 | option('fixed-point-debug', type : 'boolean', value : false, description : 'Debug fixed-point implementation') |
| 4 | option('float-api', type : 'boolean', value : true, description : 'Compile with or without the floating point API (for machines with no float library') |
| 5 | option('float-approx', type : 'boolean', value : false, description : 'Enable fast approximations for floating point (not supported on all platforms)') |
| 6 | option('rtcd', type : 'feature', value : 'auto', description : 'Run-time CPU capabilities detection') |
| 7 | option('asm', type : 'feature', value : 'auto', description : 'Assembly optimizations for ARM (fixed-point)') |
| 8 | option('intrinsics', type : 'feature', value : 'auto', description : 'Intrinsics optimizations for ARM NEON or x86') |
| 9 | |
| 10 | option('custom-modes', type : 'boolean', value : false, description : 'Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames') |
| 11 | option('extra-programs', type : 'feature', value : 'auto', description : 'Extra programs (demo and tests)') |
| 12 | option('assertions', type : 'boolean', value : false, description : 'Additional software error checking') |
| 13 | option('hardening', type : 'boolean', value : true, description : 'Run-time checks that are cheap and safe for use in production') |
| 14 | option('fuzzing', type : 'boolean', value : false, description : 'Causes the encoder to make random decisions') |
| 15 | option('check-asm', type : 'boolean', value : false, description : 'Run bit-exactness checks between optimized and c implementations') |
| 16 | |
| 17 | # common feature options |
| 18 | option('tests', type : 'feature', value : 'auto', description : 'Build tests') |
| 19 | option('docs', type: 'feature', value: 'auto', description: 'Build API documentation') |
| 20 | |
| 21 | # other options |
| 22 | option('docdir', type: 'string', value: 'doc/opus', description: 'Directory to install documentation into (default: DATADIR/doc/opus') |