blob: 0783a608e5a8724af12b7ee29696d629cdd2908a [file] [log] [blame]
image_error_hpp = custom_target(
'error.hpp',
capture: true,
command: [
sdbusplusplus_prog,
'-r', meson.project_source_root(),
'error',
'exception-header',
'xyz.openbmc_project.Software.Image',
],
input: '../Image.errors.yaml',
install: true,
install_dir: get_option('includedir') / 'xyz/openbmc_project/Software/Image',
output: 'error.hpp',
)
image_error_cpp = custom_target(
'error.cpp',
capture: true,
command: [
sdbusplusplus_prog,
'-r', meson.project_source_root(),
'error',
'exception-cpp',
'xyz.openbmc_project.Software.Image',
],
input: '../Image.errors.yaml',
output: 'error.cpp',
)