blob: 1567323d135266a81f19304f567e1bdcc0586a69 [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',
'pldm_fw_update_cmd.cpp',
'pldmtool.cpp',
]
if get_option('oem-ibm').allowed()
sources += [
'oem/ibm/pldm_oem_ibm.cpp',
]
endif
executable(
'pldmtool',
sources,
implicit_include_directories: false,
include_directories: include_directories(libpldm_headers),
dependencies: [
CLI11_dep,
libpldm_dep,
libpldmutils,
nlohmann_json_dep,
phosphor_dbus_interfaces,
sdbusplus,
],
install: true,
install_dir: get_option('bindir'))