mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 16:29:06 +08:00
make: Adding support for building json-c with meson
Adding meson build files for json-c that work similarly to the cmake build files. Where it made sense, I reused existing cmake .h.in files or generated entirely from meson. All tests were done with GCC and Clang in ubuntu 24.04, Windows using MSVC 2022 and Clang-cl from llvm's repo using version 21.1.3 Signed-off-by: Tyler Erickson <tyler.erickson@seagate.com>
This commit is contained in:
12
meson_options.txt
Normal file
12
meson_options.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
option('disable_bsymbolic', type: 'boolean', value: false, description: 'Avoid linking with -Bsymbolic-function')
|
||||
option('disable_thread_local_storage', type: 'boolean', value: false, description: 'Disable Thread-Local Storage')
|
||||
option('disable_werror', type: 'boolean', value: false, description: 'Disable treating warnings as errors')
|
||||
option('enable_rdrand', type: 'boolean', value: false, description: 'Enable RDRAND Hardware RNG')
|
||||
option('enable_threading', type: 'boolean', value: false, description: 'Enable partial threading support')
|
||||
option('override_get_random_seed', type: 'boolean', value: false, description: 'Override json_c_get_random_seed()')
|
||||
option('disable_extra_libs', type: 'boolean', value: false, description: 'Avoid linking extra libraries like libbsd')
|
||||
option('disable_json_pointer', type: 'boolean', value: false, description: 'Disable JSON pointer support')
|
||||
option('disable_json_patch', type: 'boolean', value: false, description: 'Disable JSON patch support')
|
||||
option('newlocale_needs_freelocale', type: 'boolean', value: false, description: 'FreeBSD workaround for newlocale')
|
||||
option('build_apps', type: 'boolean', value: true, description: 'Build command-line apps')
|
||||
Reference in New Issue
Block a user