xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/SystemdTarget/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1d9632146SPatrick Williams# Generated file; do not modify.
2*7f154004SPatrick Williams
3*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/State/SystemdTarget'
4*7f154004SPatrick Williams
5d9632146SPatrick Williamsgenerated_sources += custom_target(
6d9632146SPatrick Williams    'xyz/openbmc_project/State/SystemdTarget__cpp'.underscorify(),
7*7f154004SPatrick Williams    input: [
8*7f154004SPatrick Williams        '../../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',
9*7f154004SPatrick Williams    ],
10*7f154004SPatrick Williams    output: [
11*7f154004SPatrick Williams        'error.cpp',
12*7f154004SPatrick Williams        'error.hpp',
13*7f154004SPatrick Williams    ],
1411335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
15d9632146SPatrick Williams    command: [
16d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'cpp',
17d9632146SPatrick Williams        '--output', meson.current_build_dir(),
18d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
19b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../../yaml',
20d9632146SPatrick Williams        'xyz/openbmc_project/State/SystemdTarget',
21d9632146SPatrick 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,
28d9632146SPatrick Williams)
29d9632146SPatrick Williams
30