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