xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Fan/meson.build (revision 34fde7c0b23a322dd723d4f4998b48f43f349feb)
1*34fde7c0SJagpal Singh Gill# Generated file; do not modify.
2*34fde7c0SJagpal Singh Gill
3*34fde7c0SJagpal Singh Gillsdbusplus_current_path = 'xyz/openbmc_project/State/Fan'
4*34fde7c0SJagpal Singh Gill
5*34fde7c0SJagpal Singh Gillgenerated_sources += custom_target(
6*34fde7c0SJagpal Singh Gill    'xyz/openbmc_project/State/Fan__cpp'.underscorify(),
7*34fde7c0SJagpal Singh Gill    input: ['../../../../../yaml/xyz/openbmc_project/State/Fan.events.yaml'],
8*34fde7c0SJagpal Singh Gill    output: ['event.cpp', 'event.hpp'],
9*34fde7c0SJagpal Singh Gill    depend_files: sdbusplusplus_depfiles,
10*34fde7c0SJagpal Singh Gill    command: [
11*34fde7c0SJagpal Singh Gill        sdbuspp_gen_meson_prog,
12*34fde7c0SJagpal Singh Gill        '--command',
13*34fde7c0SJagpal Singh Gill        'cpp',
14*34fde7c0SJagpal Singh Gill        '--output',
15*34fde7c0SJagpal Singh Gill        meson.current_build_dir(),
16*34fde7c0SJagpal Singh Gill        '--tool',
17*34fde7c0SJagpal Singh Gill        sdbusplusplus_prog,
18*34fde7c0SJagpal Singh Gill        '--directory',
19*34fde7c0SJagpal Singh Gill        meson.current_source_dir() / '../../../../../yaml',
20*34fde7c0SJagpal Singh Gill        'xyz/openbmc_project/State/Fan',
21*34fde7c0SJagpal Singh Gill    ],
22*34fde7c0SJagpal Singh Gill    install: should_generate_cpp,
23*34fde7c0SJagpal Singh Gill    install_dir: [false, get_option('includedir') / sdbusplus_current_path],
24*34fde7c0SJagpal Singh Gill    build_by_default: should_generate_cpp,
25*34fde7c0SJagpal Singh Gill)
26*34fde7c0SJagpal Singh Gill
27