Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 1 | psu_monitor = executable( |
2 | 'psu-monitor', | ||||
3 | 'argument.cpp', | ||||
4 | error_hpp, | ||||
5 | 'main.cpp', | ||||
6 | 'power_supply.cpp', | ||||
7 | 'record_manager.cpp', | ||||
8 | dependencies: [ | ||||
9 | phosphor_dbus_interfaces, | ||||
10 | phosphor_logging, | ||||
11 | sdbusplus, | ||||
12 | ], | ||||
13 | include_directories: '..', | ||||
14 | install: true, | ||||
15 | link_with: [ | ||||
16 | libpower, | ||||
17 | ] | ||||
18 | ) | ||||
19 | |||||
20 | record_manager = psu_monitor.extract_objects('record_manager.cpp') | ||||
21 | |||||
22 | subdir('test') |