blob: d2251bf63427c917c3227154678f021410549eb6 [file] [log] [blame]
psu_monitor = executable(
'psu-monitor',
error_hpp,
'main.cpp',
'power_supply.cpp',
'record_manager.cpp',
dependencies: [
cli11_dep,
nlohmann_json_dep,
phosphor_dbus_interfaces,
phosphor_logging,
sdbusplus,
sdeventplus,
],
include_directories: '..',
install: true,
link_with: [
libpower,
]
)
record_manager = psu_monitor.extract_objects('record_manager.cpp')
if get_option('tests').allowed()
subdir('test')
endif