blob: 620197a45f745d97f138c2feb62a3593dca3b03b [file] [log] [blame]
Lei YU3c341df2020-09-27 13:24:53 +08001configure_file(output: 'config.h',
2 configuration: cdata,
3)
4
Lei YU6505e9d2020-09-21 17:34:32 +08005src_inc = include_directories('.')
6
Lei YUf3690842020-09-22 14:30:14 +08007so_version = '0.1.0'
8
Lei YU6505e9d2020-09-21 17:34:32 +08009shared_library(
10 'inspur-ipmi-oem',
11 'inspur_oem.cpp',
Lei YUfb19d992020-09-25 17:10:49 +080012 'utils.cpp',
Lei YUebd3d092020-09-27 18:11:48 +080013 'sdbus_wrapper.cpp',
Lei YU6505e9d2020-09-21 17:34:32 +080014 dependencies: [
15 phosphor_dbus_interfaces,
16 phosphor_logging,
17 libipmid,
18 ],
Lei YUf3690842020-09-22 14:30:14 +080019 version: so_version,
Lei YU6505e9d2020-09-21 17:34:32 +080020 install: true,
21 install_dir: get_option('libdir') / 'ipmid-providers'
22 )