blob: 6651bda6b80fba56b909cdc22732f915a5a04a46 [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',
kasunath7ffd30a2022-05-10 18:11:34 -07004 'rde_common.c',
kasunathd073aa12022-05-12 16:08:49 -07005 'bej_dictionary.c',
kasunathb81dcec2022-05-23 12:23:44 -07006 'bej_decoder_json.cpp',
kasunath7ffd30a2022-05-10 18:11:34 -07007 include_directories : libbej_incs,
Willy Tucc4098e2022-06-23 11:39:38 -07008 implicit_include_directories: false,
9 version: meson.project_version(),
10 install: true,
11 install_dir: get_option('libdir')
kasunath7ffd30a2022-05-10 18:11:34 -070012)
13
14libbej = declare_dependency(
15 include_directories: libbej_incs,
16 link_with: libbej_lib
17)
Willy Tucc4098e2022-06-23 11:39:38 -070018
19import('pkgconfig').generate(
20 libbej_lib,
21 name: 'libbej',
22 version: meson.project_version(),
23 description: 'libbej')