blob: 0669c2e9d72c86abb90c3847889cb95763241b37 [file] [log] [blame]
error_hpp = custom_target(
'error.hpp',
capture: true,
command: [
sdbuspp,
'-r', meson.source_root(),
'error',
'exception-header',
'org.open_power.Witherspoon.Fault',
],
input: '../Fault.errors.yaml',
install: true,
install_dir: get_option('includedir') / 'org/open_power/Witherspoon/Fault',
output: 'error.hpp',
)
error_cpp = custom_target(
'error.cpp',
capture: true,
command: [
sdbuspp,
'-r', meson.source_root(),
'error',
'exception-cpp',
'org.open_power.Witherspoon.Fault',
],
input: '../Fault.errors.yaml',
output: 'error.cpp',
)