1*39b370a5SBrad Bishoperror_hpp = custom_target(
2*39b370a5SBrad Bishop    'error.hpp',
3*39b370a5SBrad Bishop    capture: true,
4*39b370a5SBrad Bishop    command: [
5*39b370a5SBrad Bishop        sdbuspp,
6*39b370a5SBrad Bishop        '-r', meson.source_root(),
7*39b370a5SBrad Bishop        'error',
8*39b370a5SBrad Bishop        'exception-header',
9*39b370a5SBrad Bishop        'org.open_power.Witherspoon.Fault',
10*39b370a5SBrad Bishop    ],
11*39b370a5SBrad Bishop    input: '../Fault.errors.yaml',
12*39b370a5SBrad Bishop    install: true,
13*39b370a5SBrad Bishop    install_dir: get_option('includedir') / 'org/open_power/Witherspoon/Fault',
14*39b370a5SBrad Bishop    output: 'error.hpp',
15*39b370a5SBrad Bishop)
16*39b370a5SBrad Bishop
17*39b370a5SBrad Bishoperror_cpp = custom_target(
18*39b370a5SBrad Bishop    'error.cpp',
19*39b370a5SBrad Bishop    capture: true,
20*39b370a5SBrad Bishop    command: [
21*39b370a5SBrad Bishop        sdbuspp,
22*39b370a5SBrad Bishop        '-r', meson.source_root(),
23*39b370a5SBrad Bishop        'error',
24*39b370a5SBrad Bishop        'exception-cpp',
25*39b370a5SBrad Bishop        'org.open_power.Witherspoon.Fault',
26*39b370a5SBrad Bishop    ],
27*39b370a5SBrad Bishop    input: '../Fault.errors.yaml',
28*39b370a5SBrad Bishop    output: 'error.cpp',
29*39b370a5SBrad Bishop)
30