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