xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Object/Enable/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1d9632146SPatrick Williams# Generated file; do not modify.
2*7f154004SPatrick Williams
3*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/Object/Enable'
4*7f154004SPatrick Williams
5d9632146SPatrick Williamsgenerated_sources += custom_target(
6d9632146SPatrick Williams    'xyz/openbmc_project/Object/Enable__cpp'.underscorify(),
7*7f154004SPatrick Williams    input: [
8*7f154004SPatrick Williams        '../../../../../yaml/xyz/openbmc_project/Object/Enable.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,
18d9632146SPatrick Williams    command: [
19d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'cpp',
20d9632146SPatrick Williams        '--output', meson.current_build_dir(),
21d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
22b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../../yaml',
23d9632146SPatrick Williams        'xyz/openbmc_project/Object/Enable',
24d9632146SPatrick Williams    ],
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,
34d9632146SPatrick Williams)
35d9632146SPatrick Williams
36