Willy Tu | bcae900 | 2021-09-12 13:58:04 -0700 | [diff] [blame] | 1 | bmc_inc = include_directories('.') |
| 2 | |
| 3 | common_pre = declare_dependency( |
| 4 | include_directories: [root_inc, bmc_inc]) |
| 5 | |
| 6 | common_lib = static_library( |
| 7 | 'common', |
| 8 | 'buildjson.cpp', |
| 9 | 'file_handler.cpp', |
| 10 | 'fs.cpp', |
| 11 | 'general_systemd.cpp', |
| 12 | 'skip_action.cpp', |
| 13 | implicit_include_directories: false, |
| 14 | dependencies: common_pre) |
| 15 | |
| 16 | common_dep = declare_dependency( |
| 17 | link_with: common_lib, |
| 18 | dependencies: common_pre) |
| 19 | |
| 20 | if not get_option('tests').disabled() |
| 21 | subdir('test') |
| 22 | endif |
| 23 | |
| 24 | subdir('firmware-handler') |
Gaurav Gandhi | a49a3f7 | 2021-10-26 20:43:25 +0000 | [diff] [blame] | 25 | subdir('version-handler') |
| 26 | subdir('log-handler') |