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