George Liu | 4407335 | 2020-03-12 14:00:13 +0800 | [diff] [blame^] | 1 | libpldm_headers = ['.', './oem/ibm'] |
| 2 | |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 3 | sources = [ |
| 4 | 'pldm_cmd_helper.cpp', |
| 5 | 'pldm_base_cmd.cpp', |
George Liu | d664936 | 2019-11-27 19:06:51 +0800 | [diff] [blame] | 6 | 'pldm_platform_cmd.cpp', |
Sridevi Ramesh | 9857643 | 2019-11-27 10:10:28 -0600 | [diff] [blame] | 7 | 'pldm_bios_cmd.cpp', |
Sridevi Ramesh | d448975 | 2019-12-08 09:03:29 -0600 | [diff] [blame] | 8 | 'pldm_fru_cmd.cpp', |
George Liu | 4407335 | 2020-03-12 14:00:13 +0800 | [diff] [blame^] | 9 | 'pldmtool.cpp', |
| 10 | 'oem/ibm/pldm_host_cmd.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | executable( |
| 14 | 'pldmtool', |
| 15 | sources, |
| 16 | implicit_include_directories: false, |
George Liu | 4407335 | 2020-03-12 14:00:13 +0800 | [diff] [blame^] | 17 | include_directories: include_directories(libpldm_headers), |
Pavithra Barithaya | ac3c45a | 2020-03-05 02:28:26 -0600 | [diff] [blame] | 18 | dependencies: [libpldm, libpldmutils, dependency('sdbusplus')], |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 19 | install: true, |
| 20 | install_dir: get_option('bindir')) |