1libbej_lib = library( 2 '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 include_directories : libbej_incs, 11 implicit_include_directories: false, 12 version: meson.project_version(), 13 install: true, 14 install_dir: get_option('libdir') 15) 16 17libbej = declare_dependency( 18 include_directories: libbej_incs, 19 link_with: libbej_lib 20) 21 22import('pkgconfig').generate( 23 libbej_lib, 24 name: 'libbej', 25 version: meson.project_version(), 26 description: 'libbej') 27