blob: 65ecd022336e7b684e5aafd2034dc47b034470be [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
George Liub4396f22024-06-04 19:57:19 +08009sources = [
John Wangef3194d2024-06-04 15:00:27 +080010 'asset_info.cpp',
John Wangad6a9b62024-06-04 15:20:22 +080011 'utils.cpp',
George Liub4396f22024-06-04 19:57:19 +080012]
13
14deps = [
15 phosphor_dbus_interfaces_dep,
16 phosphor_logging_dep,
17 ipmid_dep,
18 sdbusplus_dep,
19]
20
Lei YU6505e9d2020-09-21 17:34:32 +080021shared_library(
George Liua3a9d2a2024-04-03 09:30:45 +080022 'iei-ipmi-oem',
George Liub4396f22024-06-04 19:57:19 +080023 sources,
24 dependencies: deps,
Lei YUf3690842020-09-22 14:30:14 +080025 version: so_version,
Lei YU6505e9d2020-09-21 17:34:32 +080026 install: true,
27 install_dir: get_option('libdir') / 'ipmid-providers'
George Liub4396f22024-06-04 19:57:19 +080028)