blob: 461d03cd884572e42251df73d73d5fde74eae31a [file] [log] [blame]
Willy Tubcae9002021-09-12 13:58:04 -07001bmc_inc = include_directories('.')
2
3common_pre = declare_dependency(
Brandon Kimea65e682022-07-13 23:21:33 +00004 dependencies: [function2_dep, 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')