xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Configuration/ModbusRTUDetect/meson.build (revision 412a5182efebacfd060650d7fd16e7c0dc6161b8)
1*412a5182SJagpal Singh Gill# Generated file; do not modify.
2*412a5182SJagpal Singh Gill
3*412a5182SJagpal Singh Gillsdbusplus_current_path = 'xyz/openbmc_project/Configuration/ModbusRTUDetect'
4*412a5182SJagpal Singh Gill
5*412a5182SJagpal Singh Gillgenerated_sources += custom_target(
6*412a5182SJagpal Singh Gill    'xyz/openbmc_project/Configuration/ModbusRTUDetect__cpp'.underscorify(),
7*412a5182SJagpal Singh Gill    input: [
8*412a5182SJagpal Singh Gill        '../../../../../yaml/xyz/openbmc_project/Configuration/ModbusRTUDetect.interface.yaml',
9*412a5182SJagpal Singh Gill    ],
10*412a5182SJagpal Singh Gill    output: [
11*412a5182SJagpal Singh Gill        'common.hpp',
12*412a5182SJagpal Singh Gill        'server.hpp',
13*412a5182SJagpal Singh Gill        'server.cpp',
14*412a5182SJagpal Singh Gill        'aserver.hpp',
15*412a5182SJagpal Singh Gill        'client.hpp',
16*412a5182SJagpal Singh Gill    ],
17*412a5182SJagpal Singh Gill    depend_files: sdbusplusplus_depfiles,
18*412a5182SJagpal Singh Gill    command: [
19*412a5182SJagpal Singh Gill        sdbuspp_gen_meson_prog,
20*412a5182SJagpal Singh Gill        '--command',
21*412a5182SJagpal Singh Gill        'cpp',
22*412a5182SJagpal Singh Gill        '--output',
23*412a5182SJagpal Singh Gill        meson.current_build_dir(),
24*412a5182SJagpal Singh Gill        '--tool',
25*412a5182SJagpal Singh Gill        sdbusplusplus_prog,
26*412a5182SJagpal Singh Gill        '--directory',
27*412a5182SJagpal Singh Gill        meson.current_source_dir() / '../../../../../yaml',
28*412a5182SJagpal Singh Gill        'xyz/openbmc_project/Configuration/ModbusRTUDetect',
29*412a5182SJagpal Singh Gill    ],
30*412a5182SJagpal Singh Gill    install: should_generate_cpp,
31*412a5182SJagpal Singh Gill    install_dir: [
32*412a5182SJagpal Singh Gill        get_option('includedir') / sdbusplus_current_path,
33*412a5182SJagpal Singh Gill        get_option('includedir') / sdbusplus_current_path,
34*412a5182SJagpal Singh Gill        false,
35*412a5182SJagpal Singh Gill        get_option('includedir') / sdbusplus_current_path,
36*412a5182SJagpal Singh Gill        get_option('includedir') / sdbusplus_current_path,
37*412a5182SJagpal Singh Gill    ],
38*412a5182SJagpal Singh Gill    build_by_default: should_generate_cpp,
39*412a5182SJagpal Singh Gill)
40*412a5182SJagpal Singh Gill
41