blob: 254a2189551a23ccf9ad205e8289368dacee373e [file] [log] [blame]
fault_monitor_sources = [
generated_sources,
'monitor-main.cpp',
]
if get_option('monitor-operational-status').enabled()
fault_monitor_sources += [
'../utils.cpp',
'operational-status-monitor.cpp',
]
else
fault_monitor_sources += [
'fru-fault-monitor.cpp',
]
endif
executable(
'phosphor-fru-fault-monitor',
fault_monitor_sources,
include_directories: ['.', '../', '../gen'],
dependencies: deps,
install: true,
install_dir: get_option('bindir')
)