blob: 922a67eb41e2d918d3e810fe01860be1d3ab3134 [file] [log] [blame]
phosphor_psu_monitor = executable(
'phosphor-psu-monitor',
'main.cpp',
'psu_manager.cpp',
'power_supply.cpp',
'util.cpp',
dependencies: [
sdbusplus,
sdeventplus,
],
include_directories: '..',
install: true,
link_with: [
libpower,
]
)
power_supply = phosphor_psu_monitor.extract_objects('power_supply.cpp')
if get_option('tests').enabled()
subdir('test')
endif