blob: 4876d80b2b616707941fa83f39e9c18fbdffa928 [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',
kasunath99bd6c92023-07-30 18:19:00 -07007 'bej_encoder_core.c',
8 'bej_encoder_metadata.c',
kasunathb81dcec2022-05-23 12:23:44 -07009 'bej_decoder_json.cpp',
kasunath7ffd30a2022-05-10 18:11:34 -070010 include_directories : libbej_incs,
Willy Tucc4098e2022-06-23 11:39:38 -070011 implicit_include_directories: false,
12 version: meson.project_version(),
13 install: true,
14 install_dir: get_option('libdir')
kasunath7ffd30a2022-05-10 18:11:34 -070015)
16
17libbej = declare_dependency(
18 include_directories: libbej_incs,
19 link_with: libbej_lib
20)
Willy Tucc4098e2022-06-23 11:39:38 -070021
22import('pkgconfig').generate(
23 libbej_lib,
24 name: 'libbej',
25 version: meson.project_version(),
26 description: 'libbej')