xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Shutdown/ThermalEvent/meson.build (revision 0e78828ce927548b4dd679e06fdaf2f294983289)
1# Generated file; do not modify.
2
3sdbusplus_current_path = 'xyz/openbmc_project/State/Shutdown/ThermalEvent'
4
5generated_sources += custom_target(
6    'xyz/openbmc_project/State/Shutdown/ThermalEvent__cpp'.underscorify(),
7    input: [
8        '../../../../../../yaml/xyz/openbmc_project/State/Shutdown/ThermalEvent.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/State/Shutdown/ThermalEvent',
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