blob: 50c4bed784ae66a6f0fab9dd204cf085b547c807 [file] [log] [blame]
log_inc = include_directories('.')
log_pre = declare_dependency(
include_directories: [root_inc, log_inc],
dependencies : [
common_dep,
firmware_dep,
])
log_lib = static_library(
'logblob',
'log_handler.cpp',
'log_handlers_builder.cpp',
implicit_include_directories: false,
dependencies: log_pre)
log_dep = declare_dependency(
link_with: log_lib,
dependencies: common_pre)
shared_module(
'logblob',
'main.cpp',
implicit_include_directories: false,
dependencies: [
log_dep,
dependency('libipmid'),
],
install: true,
install_dir: get_option('libdir') / 'blob-ipmid')
if not get_option('tests').disabled()
subdir('test')
endif