xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Version/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2
3sdbusplus_current_path = 'xyz/openbmc_project/Software/Version'
4
5generated_sources += custom_target(
6    'xyz/openbmc_project/Software/Version__cpp'.underscorify(),
7    input: [
8        '../../../../../yaml/xyz/openbmc_project/Software/Version.errors.yaml',
9        '../../../../../yaml/xyz/openbmc_project/Software/Version.interface.yaml',
10    ],
11    output: [
12        'error.cpp',
13        'error.hpp',
14        'common.hpp',
15        'server.hpp',
16        'server.cpp',
17        'aserver.hpp',
18        'client.hpp',
19    ],
20    depend_files: sdbusplusplus_depfiles,
21    command: [
22        sdbuspp_gen_meson_prog, '--command', 'cpp',
23        '--output', meson.current_build_dir(),
24        '--tool', sdbusplusplus_prog,
25        '--directory', meson.current_source_dir() / '../../../../../yaml',
26        'xyz/openbmc_project/Software/Version',
27    ],
28    install: should_generate_cpp,
29    install_dir: [
30        false,
31        get_option('includedir') / sdbusplus_current_path,
32        get_option('includedir') / sdbusplus_current_path,
33        get_option('includedir') / sdbusplus_current_path,
34        false,
35        get_option('includedir') / sdbusplus_current_path,
36        get_option('includedir') / sdbusplus_current_path,
37    ],
38    build_by_default: should_generate_cpp,
39)
40
41