blob: abf576e63d2ce12d99df9472f8efd4280571ac98 [file] [log] [blame]
Willy Tucc4098e2022-06-23 11:39:38 -07001libbej_lib = library(
Patrick Williamsc3ab4172025-02-01 08:38:42 -05002 'libbej',
3 'bej_decoder_core.c',
4 'bej_common.c',
5 'bej_dictionary.c',
6 'bej_tree.c',
7 'bej_encoder_core.c',
8 'bej_encoder_metadata.c',
9 'bej_decoder_json.cpp',
10 'bej_encoder_json.cpp',
11 include_directories: libbej_incs,
12 implicit_include_directories: false,
13 version: meson.project_version(),
14 install: true,
15 install_dir: get_option('libdir'),
kasunath7ffd30a2022-05-10 18:11:34 -070016)
17
18libbej = declare_dependency(
Patrick Williamsc3ab4172025-02-01 08:38:42 -050019 include_directories: libbej_incs,
20 link_with: libbej_lib,
kasunath7ffd30a2022-05-10 18:11:34 -070021)
Willy Tucc4098e2022-06-23 11:39:38 -070022
23import('pkgconfig').generate(
Patrick Williamsc3ab4172025-02-01 08:38:42 -050024 libbej_lib,
25 name: 'libbej',
26 version: meson.project_version(),
27 description: 'libbej',
28)