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