blob: 051b397adc093c087aac54553253e218332f2031 [file] [log] [blame]
Willy Tucc4098e2022-06-23 11:39:38 -07001libbej_lib = library(
kasunath7ffd30a2022-05-10 18:11:34 -07002 'libbej',
kasunath64cb1972022-05-13 12:54:23 -07003 'bej_decoder_core.c',
kasunath0aa36d82022-11-23 14:24:15 -08004 'bej_common.c',
kasunathd073aa12022-05-12 16:08:49 -07005 'bej_dictionary.c',
kasunath2ebe82f2023-01-31 13:59:22 -08006 'bej_tree.c',
kasunathb81dcec2022-05-23 12:23:44 -07007 'bej_decoder_json.cpp',
kasunath7ffd30a2022-05-10 18:11:34 -07008 include_directories : libbej_incs,
Willy Tucc4098e2022-06-23 11:39:38 -07009 implicit_include_directories: false,
10 version: meson.project_version(),
11 install: true,
12 install_dir: get_option('libdir')
kasunath7ffd30a2022-05-10 18:11:34 -070013)
14
15libbej = declare_dependency(
16 include_directories: libbej_incs,
17 link_with: libbej_lib
18)
Willy Tucc4098e2022-06-23 11:39:38 -070019
20import('pkgconfig').generate(
21 libbej_lib,
22 name: 'libbej',
23 version: meson.project_version(),
24 description: 'libbej')