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