|
2 | 2 | #
|
3 | 3 | # SPDX-License-Identifier: MIT
|
4 | 4 |
|
5 |
| -option('cpp-httplib_openssl', type: 'feature', value: 'auto', description: 'Enable OpenSSL support') |
6 |
| -option('cpp-httplib_zlib', type: 'feature', value: 'auto', description: 'Enable zlib support') |
7 |
| -option('cpp-httplib_brotli', type: 'feature', value: 'auto', description: 'Enable Brotli support') |
8 |
| -option('cpp-httplib_macosx_keychain', type: 'feature', value: 'auto', description: 'Enable loading certs from the Keychain on Apple devices') |
9 |
| -option('cpp-httplib_non_blocking_getaddrinfo', type: 'feature', value: 'auto', description: 'Enable asynchronous name lookup') |
10 |
| -option('cpp-httplib_compile', type: 'boolean', value: false, description: 'Split the header into a compilable header & source file (requires python3)') |
11 |
| -option('cpp-httplib_test', type: 'boolean', value: false, description: 'Build tests') |
| 5 | +option('openssl', type: 'feature', value: 'auto', description: 'Enable OpenSSL support') |
| 6 | +option('zlib', type: 'feature', value: 'auto', description: 'Enable zlib support') |
| 7 | +option('brotli', type: 'feature', value: 'auto', description: 'Enable Brotli support') |
| 8 | +option('macosx_keychain', type: 'feature', value: 'auto', description: 'Enable loading certs from the Keychain on Apple devices') |
| 9 | +option('non_blocking_getaddrinfo', type: 'feature', value: 'auto', description: 'Enable asynchronous name lookup') |
| 10 | +option('compile', type: 'boolean', value: false, description: 'Split the header into a compilable header & source file (requires python3)') |
| 11 | +option('test', type: 'boolean', value: false, description: 'Build tests') |
| 12 | + |
| 13 | +# Old option names |
| 14 | +option('cpp-httplib_openssl', type: 'feature', deprecated: 'openssl') |
| 15 | +option('cpp-httplib_zlib', type: 'feature', deprecated: 'zlib') |
| 16 | +option('cpp-httplib_brotli', type: 'feature', deprecated: 'brotli') |
| 17 | +option('cpp-httplib_macosx_keychain', type: 'feature', deprecated: 'macosx_keychain') |
| 18 | +option('cpp-httplib_non_blocking_getaddrinfo', type: 'feature', deprecated: 'non_blocking_getaddrinfo') |
| 19 | +option('cpp-httplib_compile', type: 'boolean', value: false, deprecated: 'compile') |
| 20 | +option('cpp-httplib_test', type: 'boolean', value: false, deprecated: 'test') |
0 commit comments