mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Full Meson support (#1033)
* 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
This commit is contained in:
parent
ab477b5631
commit
e20ecd2574
2 changed files with 111 additions and 2 deletions
8
meson_options.txt
Normal file
8
meson_options.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
# 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)')
|
Loading…
Add table
Add a link
Reference in a new issue