xref: /openbmc/pldm/pldmtool/meson.build (revision 579a34a3)
1libpldm_headers = ['.', './oem/ibm']
2
3sources = [
4  'pldm_cmd_helper.cpp',
5  'pldm_base_cmd.cpp',
6  'pldm_platform_cmd.cpp',
7  'pldm_bios_cmd.cpp',
8  'pldm_fru_cmd.cpp',
9  'pldmtool.cpp',
10]
11
12if get_option('oem-ibm').enabled()
13sources += [
14    'oem/ibm/pldm_host_cmd.cpp'
15  ]
16endif
17
18executable(
19  'pldmtool',
20  sources,
21  implicit_include_directories: false,
22  include_directories: include_directories(libpldm_headers),
23  dependencies: [libpldm, libpldmutils, dependency('sdbusplus')],
24  install: true,
25  install_dir: get_option('bindir'))
26