xref: /openbmc/phosphor-dbus-interfaces/gen/com/ibm/VPD/meson.build (revision 0e78828ce927548b4dd679e06fdaf2f294983289)
1d9632146SPatrick Williams# Generated file; do not modify.
27f154004SPatrick Williamssubdir('Collection')
37f154004SPatrick Williamssubdir('Manager')
47f154004SPatrick Williams
57f154004SPatrick Williamssdbusplus_current_path = 'com/ibm/VPD'
67f154004SPatrick Williams
7d9632146SPatrick Williamsgenerated_sources += custom_target(
8d9632146SPatrick Williams    'com/ibm/VPD__cpp'.underscorify(),
9*0e78828cSPatrick Williams    input: ['../../../../yaml/com/ibm/VPD.errors.yaml'],
10*0e78828cSPatrick Williams    output: ['error.cpp', 'error.hpp'],
1111335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
12d9632146SPatrick Williams    command: [
13*0e78828cSPatrick Williams        sdbuspp_gen_meson_prog,
14*0e78828cSPatrick Williams        '--command',
15*0e78828cSPatrick Williams        'cpp',
16*0e78828cSPatrick Williams        '--output',
17*0e78828cSPatrick Williams        meson.current_build_dir(),
18*0e78828cSPatrick Williams        '--tool',
19*0e78828cSPatrick Williams        sdbusplusplus_prog,
20*0e78828cSPatrick Williams        '--directory',
21*0e78828cSPatrick Williams        meson.current_source_dir() / '../../../../yaml',
22d9632146SPatrick Williams        'com/ibm/VPD',
23d9632146SPatrick Williams    ],
247f154004SPatrick Williams    install: should_generate_cpp,
25*0e78828cSPatrick Williams    install_dir: [false, get_option('includedir') / sdbusplus_current_path],
267f154004SPatrick Williams    build_by_default: should_generate_cpp,
27d9632146SPatrick Williams)
28d9632146SPatrick Williams
297f154004SPatrick Williamsgenerated_markdown += custom_target(
30530ca617SPriyanga Ramasamy    'com/ibm/VPD/Collection__markdown'.underscorify(),
31*0e78828cSPatrick Williams    input: ['../../../../yaml/com/ibm/VPD/Collection.interface.yaml'],
32530ca617SPriyanga Ramasamy    output: ['Collection.md'],
33530ca617SPriyanga Ramasamy    depend_files: sdbusplusplus_depfiles,
34530ca617SPriyanga Ramasamy    command: [
35*0e78828cSPatrick Williams        sdbuspp_gen_meson_prog,
36*0e78828cSPatrick Williams        '--command',
37*0e78828cSPatrick Williams        'markdown',
38*0e78828cSPatrick Williams        '--output',
39*0e78828cSPatrick Williams        meson.current_build_dir(),
40*0e78828cSPatrick Williams        '--tool',
41*0e78828cSPatrick Williams        sdbusplusplus_prog,
42*0e78828cSPatrick Williams        '--directory',
43*0e78828cSPatrick Williams        meson.current_source_dir() / '../../../../yaml',
44530ca617SPriyanga Ramasamy        'com/ibm/VPD/Collection',
45530ca617SPriyanga Ramasamy    ],
467f154004SPatrick Williams    install: should_generate_markdown,
477f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
487f154004SPatrick Williams    build_by_default: should_generate_markdown,
49530ca617SPriyanga Ramasamy)
50530ca617SPriyanga Ramasamy
517f154004SPatrick Williamsgenerated_markdown += custom_target(
52d9632146SPatrick Williams    'com/ibm/VPD/Manager__markdown'.underscorify(),
53*0e78828cSPatrick Williams    input: ['../../../../yaml/com/ibm/VPD/Manager.interface.yaml'],
54d9632146SPatrick Williams    output: ['Manager.md'],
5511335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
56d9632146SPatrick Williams    command: [
57*0e78828cSPatrick Williams        sdbuspp_gen_meson_prog,
58*0e78828cSPatrick Williams        '--command',
59*0e78828cSPatrick Williams        'markdown',
60*0e78828cSPatrick Williams        '--output',
61*0e78828cSPatrick Williams        meson.current_build_dir(),
62*0e78828cSPatrick Williams        '--tool',
63*0e78828cSPatrick Williams        sdbusplusplus_prog,
64*0e78828cSPatrick Williams        '--directory',
65*0e78828cSPatrick Williams        meson.current_source_dir() / '../../../../yaml',
66d9632146SPatrick Williams        'com/ibm/VPD/Manager',
67d9632146SPatrick Williams    ],
687f154004SPatrick Williams    install: should_generate_markdown,
697f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
707f154004SPatrick Williams    build_by_default: should_generate_markdown,
71d9632146SPatrick Williams)
72d9632146SPatrick Williams
73