blob: 12daf0d8cfccac079a2034c2ec1dc2940a9082eb [file] [log] [blame]
George Liu44073352020-03-12 14:00:13 +08001libpldm_headers = ['.', './oem/ibm']
2
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05003sources = [
4 'pldm_cmd_helper.cpp',
5 'pldm_base_cmd.cpp',
George Liud6649362019-11-27 19:06:51 +08006 'pldm_platform_cmd.cpp',
Sridevi Ramesh98576432019-11-27 10:10:28 -06007 'pldm_bios_cmd.cpp',
Sridevi Rameshd4489752019-12-08 09:03:29 -06008 'pldm_fru_cmd.cpp',
George Liu44073352020-03-12 14:00:13 +08009 'pldmtool.cpp',
10 'oem/ibm/pldm_host_cmd.cpp'
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050011]
12
13executable(
14 'pldmtool',
15 sources,
16 implicit_include_directories: false,
George Liu44073352020-03-12 14:00:13 +080017 include_directories: include_directories(libpldm_headers),
Pavithra Barithayaac3c45a2020-03-05 02:28:26 -060018 dependencies: [libpldm, libpldmutils, dependency('sdbusplus')],
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050019 install: true,
20 install_dir: get_option('bindir'))