Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 1 | bmc_vmi_ca_deps = [ |
| 2 | phosphor_dbus_interfaces_dep, |
| 3 | phosphor_logging_dep, |
| 4 | sdbusplus_dep, |
| 5 | sdeventplus_dep, |
| 6 | ] |
| 7 | |
| 8 | bmc_vmi_ca_lib = static_library( |
| 9 | 'bmc_vmi_ca', |
| 10 | [ |
| 11 | 'ca_cert_entry.cpp', |
| 12 | 'ca_certs_manager.cpp', |
| 13 | ], |
| 14 | include_directories: '..', |
| 15 | dependencies: bmc_vmi_ca_deps, |
| 16 | ) |
| 17 | |
| 18 | bmc_vmi_ca_dep = declare_dependency( |
| 19 | link_with: bmc_vmi_ca_lib, |
| 20 | dependencies: bmc_vmi_ca_deps, |
| 21 | ) |
| 22 | |
| 23 | executable( |
| 24 | 'bmc_vmi_ca', |
| 25 | 'mainapp.cpp', |
| 26 | include_directories: '..', |
| 27 | dependencies: bmc_vmi_ca_dep, |
| 28 | install: true, |
| 29 | ) |