blob: 40ca2b394da14507c5916afcf2089c3c08fc1a14 [file] [log] [blame]
Willy Tubcae9002021-09-12 13:58:04 -07001bmc_inc = include_directories('.')
2
3common_pre = declare_dependency(
Patrick Williamsdeb85ce2023-12-07 14:27:45 -06004 dependencies: [nlohmann_json_dep],
Willy Tubcae9002021-09-12 13:58:04 -07005 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')
Gaurav Gandhia49a3f72021-10-26 20:43:25 +000026subdir('version-handler')
Brandon Kimea65e682022-07-13 23:21:33 +000027subdir('log-handler')