1f7f5da97SDeepak Kodihallilibpldm_headers = ['.', './oem/ibm'] 2f7f5da97SDeepak Kodihalli 3f7f5da97SDeepak Kodihallisources = [ 4f7f5da97SDeepak Kodihalli 'pldm_cmd_helper.cpp', 5f7f5da97SDeepak Kodihalli 'pldm_base_cmd.cpp', 6f7f5da97SDeepak Kodihalli 'pldm_platform_cmd.cpp', 7f7f5da97SDeepak Kodihalli 'pldm_bios_cmd.cpp', 8f7f5da97SDeepak Kodihalli 'pldm_fru_cmd.cpp', 9eea835a9STom Joseph 'pldm_fw_update_cmd.cpp', 10f7f5da97SDeepak Kodihalli 'pldmtool.cpp', 11f7f5da97SDeepak Kodihalli] 12f7f5da97SDeepak Kodihalli 1387bfacd2SPatrick Williamsif get_option('oem-ibm').allowed() 14*3012b632SManojkiran Eda sources += ['oem/ibm/pldm_oem_ibm.cpp'] 15f7f5da97SDeepak Kodihalliendif 16f7f5da97SDeepak Kodihalli 17f7f5da97SDeepak Kodihalliexecutable( 18f7f5da97SDeepak Kodihalli 'pldmtool', 19f7f5da97SDeepak Kodihalli sources, 20f7f5da97SDeepak Kodihalli implicit_include_directories: false, 21f7f5da97SDeepak Kodihalli include_directories: include_directories(libpldm_headers), 223b1dc01dSPatrick Williams dependencies: [ 233b1dc01dSPatrick Williams CLI11_dep, 243b1dc01dSPatrick Williams libpldm_dep, 253b1dc01dSPatrick Williams libpldmutils, 26cf772846SPatrick Williams nlohmann_json_dep, 273b1dc01dSPatrick Williams phosphor_dbus_interfaces, 283b1dc01dSPatrick Williams sdbusplus, 293b1dc01dSPatrick Williams ], 30f7f5da97SDeepak Kodihalli install: true, 31*3012b632SManojkiran Eda install_dir: get_option('bindir'), 32*3012b632SManojkiran Eda) 33