xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/BMCRedundancy/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1f9959724SChen Yugang# Generated file; do not modify.
2*7f154004SPatrick Williams
3*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/State/BMCRedundancy'
4*7f154004SPatrick Williams
5f9959724SChen Yuganggenerated_sources += custom_target(
6f9959724SChen Yugang    'xyz/openbmc_project/State/BMCRedundancy__cpp'.underscorify(),
7*7f154004SPatrick Williams    input: [
8*7f154004SPatrick Williams        '../../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',
9*7f154004SPatrick Williams    ],
10*7f154004SPatrick Williams    output: [
11*7f154004SPatrick Williams        'common.hpp',
12*7f154004SPatrick Williams        'server.hpp',
13*7f154004SPatrick Williams        'server.cpp',
14*7f154004SPatrick Williams        'aserver.hpp',
15*7f154004SPatrick Williams        'client.hpp',
16*7f154004SPatrick Williams    ],
1711335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
18f9959724SChen Yugang    command: [
19f9959724SChen Yugang        sdbuspp_gen_meson_prog, '--command', 'cpp',
20f9959724SChen Yugang        '--output', meson.current_build_dir(),
21f9959724SChen Yugang        '--tool', sdbusplusplus_prog,
22b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../../yaml',
23f9959724SChen Yugang        'xyz/openbmc_project/State/BMCRedundancy',
24f9959724SChen Yugang    ],
25*7f154004SPatrick Williams    install: should_generate_cpp,
26*7f154004SPatrick Williams    install_dir: [
27*7f154004SPatrick Williams        get_option('includedir') / sdbusplus_current_path,
28*7f154004SPatrick Williams        get_option('includedir') / sdbusplus_current_path,
29*7f154004SPatrick Williams        false,
30*7f154004SPatrick Williams        get_option('includedir') / sdbusplus_current_path,
31*7f154004SPatrick Williams        get_option('includedir') / sdbusplus_current_path,
32*7f154004SPatrick Williams    ],
33*7f154004SPatrick Williams    build_by_default: should_generate_cpp,
34f9959724SChen Yugang)
35f9959724SChen Yugang
36