Alexander Hansen | aa30064 | 2025-02-04 15:51:52 +0100 | [diff] [blame] | 1 | libexampledevice = static_library('example_device', |
| 2 | 'example_device.cpp', |
| 3 | include_directories: ['.', common_include], |
| 4 | dependencies: [ |
| 5 | pdi_dep, |
| 6 | phosphor_logging_dep, |
| 7 | sdbusplus_dep, |
| 8 | libpldm_dep, |
| 9 | ], |
| 10 | link_with: [ |
| 11 | software_common_lib, |
| 12 | ], |
| 13 | ) |
| 14 | |
| 15 | executable( |
| 16 | 'example-code-updater', |
| 17 | 'example_updater_main.cpp', |
| 18 | include_directories: ['.', common_include], |
| 19 | dependencies: [ |
| 20 | pdi_dep, |
| 21 | phosphor_logging_dep, |
| 22 | sdbusplus_dep, |
| 23 | libpldm_dep, |
| 24 | ], |
| 25 | link_with: [ |
| 26 | libpldmutil, |
| 27 | software_common_lib, |
| 28 | libexampledevice |
| 29 | ], |
| 30 | ) |