| 1 |
# Copyright (C) 2025 Rob Hall |
| 2 |
# SPDX-License-Identifier: MIT |
| 3 |
|
| 4 |
# General options |
| 5 |
|
| 6 |
option('enable_docs', |
| 7 |
type: 'boolean', |
| 8 |
value: false, |
| 9 |
description: 'Build (with Doxygen) and install API documentation') |
| 10 |
|
| 11 |
# Optional dependencies to be found on the system |
| 12 |
|
| 13 |
option('libdvdcss', |
| 14 |
type: 'feature', |
| 15 |
value: 'auto', |
| 16 |
description: 'Link directly against libdvdcss') |
| 17 |
|
| 18 |
option('dlfcn', |
| 19 |
type: 'combo', |
| 20 |
choices: ['external', 'builtin', 'auto'], |
| 21 |
value: 'auto', |
| 22 |
description: 'Use external dlfcn for MinGW') |
| 23 |
|
| 24 |
option('extra_checks', |
| 25 |
type : 'boolean', |
| 26 |
value : false, |
| 27 |
description : 'Turn some warnings into compilation error') |