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_oem_ibm.cpp', 15 ] 16endif 17 18executable( 19 'pldmtool', 20 sources, 21 implicit_include_directories: false, 22 include_directories: include_directories(libpldm_headers), 23 dependencies: [ 24 CLI11_dep, 25 libpldm_dep, 26 libpldmutils, 27 nlohmann_json, 28 phosphor_dbus_interfaces, 29 sdbusplus, 30 ], 31 install: true, 32 install_dir: get_option('bindir')) 33