blob: 6c8fb5f1d299078f2c0b24fe966d0687f32d8a07 [file] [log] [blame]
libpldm_headers = ['.', './oem/ibm']
sources = [
'pldm_cmd_helper.cpp',
'pldm_base_cmd.cpp',
'pldm_platform_cmd.cpp',
'pldm_bios_cmd.cpp',
'pldm_fru_cmd.cpp',
'pldmtool.cpp',
]
if get_option('oem-ibm').enabled()
sources += [
'oem/ibm/pldm_host_cmd.cpp'
]
endif
executable(
'pldmtool',
sources,
implicit_include_directories: false,
include_directories: include_directories(libpldm_headers),
dependencies: [libpldm, libpldmutils, dependency('sdbusplus'), dependency('CLI11')],
install: true,
install_dir: get_option('bindir'))