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