xref: /openbmc/libbej/src/meson.build (revision c14fab6e)
1libbej_lib = library(
2  'libbej',
3  'bej_decoder_core.c',
4  'bej_common.c',
5  'bej_dictionary.c',
6  'bej_decoder_json.cpp',
7  include_directories : libbej_incs,
8  implicit_include_directories: false,
9  version: meson.project_version(),
10  install: true,
11  install_dir: get_option('libdir')
12)
13
14libbej = declare_dependency(
15  include_directories: libbej_incs,
16  link_with: libbej_lib
17)
18
19import('pkgconfig').generate(
20  libbej_lib,
21  name: 'libbej',
22  version: meson.project_version(),
23  description: 'libbej')
24