blob: d0ae31677c14580a8ac8889c9c1d385caeb5e2f8 [file] [log] [blame]
Willy Tuc710b972021-08-11 16:33:43 -07001ipmid_pre = [
2 boost_coroutine,
3 phosphor_dbus_interfaces_dep,
4 sdbusplus_dep,
5 systemd,
6]
7
8libipmid = library(
9 'ipmid',
10 'sdbus-asio.cpp',
11 'signals.cpp',
12 'systemintf-sdbus.cpp',
13 'utils.cpp',
14 dependencies: ipmid_pre,
15 version: meson.project_version(),
16 include_directories: root_inc,
17 install: true,
18 install_dir: get_option('libdir'),
19 override_options: ['b_lundef=false'])
20
21ipmid_dep = declare_dependency(
22 dependencies: ipmid_pre,
23 include_directories: root_inc,
24 link_with: libipmid)
25
26import('pkgconfig').generate(
27 libipmid,
28 name: 'libipmid',
29 version: meson.project_version(),
30 description: 'ipmid')