Jonathan Doman | 366546c | 2023-07-24 12:33:16 -0700 | [diff] [blame] | 1 | ipmi_blob_dep = dependency('phosphor-ipmi-blobs') |
| 2 | libipmid_dep = dependency('libipmid').partial_dependency(includes: true) |
| 3 | |
| 4 | smbiosstore_common_deps = [ipmi_blob_dep, libipmid_dep, sdbusplus_dep] |
| 5 | |
| 6 | shared_module( |
Patrick Williams | 9d58391 | 2025-02-01 08:37:58 -0500 | [diff] [blame] | 7 | 'smbiosstore', |
| 8 | 'main.cpp', |
| 9 | 'handler.cpp', |
| 10 | dependencies: [smbiosstore_common_deps, phosphor_logging_dep], |
| 11 | include_directories: root_inc, |
| 12 | install: true, |
| 13 | install_dir: get_option('libdir') / 'blob-ipmid', |
| 14 | ) |
Jonathan Doman | 366546c | 2023-07-24 12:33:16 -0700 | [diff] [blame] | 15 | |
| 16 | if get_option('tests').allowed() |
Patrick Williams | 9d58391 | 2025-02-01 08:37:58 -0500 | [diff] [blame] | 17 | subdir('test') |
Jonathan Doman | 366546c | 2023-07-24 12:33:16 -0700 | [diff] [blame] | 18 | endif |