xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Image/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
18e360784SPatrick Williams# Generated file; do not modify.
2*7f154004SPatrick Williams
3*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/Software/Image'
4*7f154004SPatrick Williams
58e360784SPatrick Williamsgenerated_sources += custom_target(
68e360784SPatrick Williams    'xyz/openbmc_project/Software/Image__cpp'.underscorify(),
7*7f154004SPatrick Williams    input: [
8*7f154004SPatrick Williams        '../../../../../yaml/xyz/openbmc_project/Software/Image.errors.yaml',
9*7f154004SPatrick Williams    ],
10*7f154004SPatrick Williams    output: [
11*7f154004SPatrick Williams        'error.cpp',
12*7f154004SPatrick Williams        'error.hpp',
13*7f154004SPatrick Williams    ],
148e360784SPatrick Williams    depend_files: sdbusplusplus_depfiles,
158e360784SPatrick Williams    command: [
168e360784SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'cpp',
178e360784SPatrick Williams        '--output', meson.current_build_dir(),
188e360784SPatrick Williams        '--tool', sdbusplusplus_prog,
198e360784SPatrick Williams        '--directory', meson.current_source_dir() / '../../../../../yaml',
208e360784SPatrick Williams        'xyz/openbmc_project/Software/Image',
218e360784SPatrick Williams    ],
22*7f154004SPatrick Williams    install: should_generate_cpp,
23*7f154004SPatrick Williams    install_dir: [
24*7f154004SPatrick Williams        false,
25*7f154004SPatrick Williams        get_option('includedir') / sdbusplus_current_path,
26*7f154004SPatrick Williams    ],
27*7f154004SPatrick Williams    build_by_default: should_generate_cpp,
288e360784SPatrick Williams)
298e360784SPatrick Williams
30