mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00

* Full Meson support cpp-httplib can be now built with Meson even in compiled library mode. The library is built with LTO, supports OpenSSL, zlib and Brotli, and the build system also generates a pkg-config file when needed. Compared to the CMake file this one is quite small (more than five times smaller!), and maintaining it won't be an issue :) * meson: automatic versioning
8 lines
547 B
Meson
8 lines
547 B
Meson
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
option('cpp-httplib_openssl', type: 'feature', value: 'auto', description: 'Enable OpenSSL support')
|
|
option('cpp-httplib_zlib', type: 'feature', value: 'auto', description: 'Enable zlib support')
|
|
option('cpp-httplib_brotli', type: 'feature', value: 'auto', description: 'Enable Brotli support')
|
|
option('cpp-httplib_compile', type: 'boolean', value: false, description: 'Split the header into a compilable header & source file (requires Python 3)')
|