blob: 50c4bed784ae66a6f0fab9dd204cf085b547c807 [file] [log] [blame]
Gaurav Gandhia49a3f72021-10-26 20:43:25 +00001log_inc = include_directories('.')
2
3log_pre = declare_dependency(
4 include_directories: [root_inc, log_inc],
5 dependencies : [
6 common_dep,
7 firmware_dep,
8 ])
9
10log_lib = static_library(
11 'logblob',
12 'log_handler.cpp',
13 'log_handlers_builder.cpp',
14 implicit_include_directories: false,
15 dependencies: log_pre)
16
17
18log_dep = declare_dependency(
19 link_with: log_lib,
20 dependencies: common_pre)
21
22shared_module(
23 'logblob',
24 'main.cpp',
25 implicit_include_directories: false,
26 dependencies: [
27 log_dep,
28 dependency('libipmid'),
29 ],
30 install: true,
31 install_dir: get_option('libdir') / 'blob-ipmid')
32
33if not get_option('tests').disabled()
34 subdir('test')
35endif