1bios_bmc_smm_error_logger_pre = declare_dependency(
2  include_directories: [root_inc, bios_bmc_smm_error_logger_inc],
3  dependencies: [
4    dependency('threads'),
5    dependency('stdplus'),
6  ])
7
8bios_bmc_smm_error_logger_lib = static_library(
9  'bios_bmc_smm_error_logger',
10  'pci_handler.cpp',
11  'buffer.cpp',
12  implicit_include_directories: false,
13  dependencies: bios_bmc_smm_error_logger_pre)
14
15bios_bmc_smm_error_logger_dep = declare_dependency(
16  link_with: bios_bmc_smm_error_logger_lib,
17  dependencies: bios_bmc_smm_error_logger_pre)
18
19executable(
20  'bios-bmc-smm-error-logger',
21  'main.cpp',
22  conf_h,
23  implicit_include_directories: false,
24  dependencies: [bios_bmc_smm_error_logger_dep, rde_dep],
25  install: true,
26  install_dir: get_option('bindir')
27)
28