1bmc_inc = include_directories('.')
2
3common_pre = declare_dependency(
4  dependencies: [nlohmann_json_dep],
5  include_directories: [root_inc, bmc_inc])
6
7common_lib = static_library(
8  'common',
9  'buildjson.cpp',
10  'file_handler.cpp',
11  'fs.cpp',
12  'general_systemd.cpp',
13  'skip_action.cpp',
14  implicit_include_directories: false,
15  dependencies: common_pre)
16
17common_dep = declare_dependency(
18  link_with: common_lib,
19  dependencies: common_pre)
20
21if not get_option('tests').disabled()
22  subdir('test')
23endif
24
25subdir('firmware-handler')
26subdir('version-handler')
27subdir('log-handler')
28