blob: 29f4a3d50f77713b3c55b118109ba26390afd3b0 [file] [log] [blame]
Brad Bishop39b370a2019-09-02 02:37:32 -04001error_hpp = custom_target(
2 'error.hpp',
3 capture: true,
4 command: [
5 sdbuspp,
George Liu96593382023-02-28 11:20:42 +08006 '-r', meson.project_source_root(),
Brad Bishop39b370a2019-09-02 02:37:32 -04007 'error',
8 'exception-header',
9 'org.open_power.Witherspoon.Fault',
10 ],
11 input: '../Fault.errors.yaml',
12 install: true,
13 install_dir: get_option('includedir') / 'org/open_power/Witherspoon/Fault',
14 output: 'error.hpp',
15)
16
17error_cpp = custom_target(
18 'error.cpp',
19 capture: true,
20 command: [
21 sdbuspp,
George Liu96593382023-02-28 11:20:42 +080022 '-r', meson.project_source_root(),
Brad Bishop39b370a2019-09-02 02:37:32 -040023 'error',
24 'exception-cpp',
25 'org.open_power.Witherspoon.Fault',
26 ],
27 input: '../Fault.errors.yaml',
28 output: 'error.cpp',
29)