* Setting GNU99/C99 standard for subprojects * Remove use of `add_global_arguments` * Added extern "C" linkage specification to some public headers of rizin * Changed the meson_git_wrapper.py-script to explicitly specify the output-path * Made the RIZIN_BUILD_PATH conditional in the integration-test meson-build Co-authored-by: amibranch <amibranch@users.noreply.github.com>
28 lines
540 B
Meson
28 lines
540 B
Meson
project('lz4', ['c'],
|
|
license: 'BSD-2-Clause-Patent AND GPL-2.0-or-later',
|
|
version: '1.9.4',
|
|
meson_version: '>=0.55.0',
|
|
)
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
if cc.has_argument('--std=c99')
|
|
add_project_arguments('--std=c99', language: ['c'])
|
|
endif
|
|
|
|
lz4_files = [
|
|
'lib/lz4.c',
|
|
]
|
|
|
|
lz4_inc = [include_directories('lib')]
|
|
|
|
librzlz4 = library('lz4', lz4_files,
|
|
include_directories: lz4_inc,
|
|
implicit_include_directories: false,
|
|
install: false,
|
|
)
|
|
|
|
lz4_dep = declare_dependency(
|
|
link_with: librzlz4,
|
|
include_directories: lz4_inc,
|
|
)
|