xref: /openbmc/libbej/src/meson.build (revision 2bc745a3)
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  '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')
16)
17
18libbej = declare_dependency(
19  include_directories: libbej_incs,
20  link_with: libbej_lib
21)
22
23import('pkgconfig').generate(
24  libbej_lib,
25  name: 'libbej',
26  version: meson.project_version(),
27  description: 'libbej')
28