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