xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Inventory/Item/Board/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('IOBoard')
3subdir('Motherboard')
4
5sdbusplus_current_path = 'xyz/openbmc_project/Inventory/Item/Board'
6
7generated_sources += custom_target(
8    'xyz/openbmc_project/Inventory/Item/Board__cpp'.underscorify(),
9    input: [
10        '../../../../../../yaml/xyz/openbmc_project/Inventory/Item/Board.interface.yaml',
11    ],
12    output: [
13        'common.hpp',
14        'server.hpp',
15        'server.cpp',
16        'aserver.hpp',
17        'client.hpp',
18    ],
19    depend_files: sdbusplusplus_depfiles,
20    command: [
21        sdbuspp_gen_meson_prog, '--command', 'cpp',
22        '--output', meson.current_build_dir(),
23        '--tool', sdbusplusplus_prog,
24        '--directory', meson.current_source_dir() / '../../../../../../yaml',
25        'xyz/openbmc_project/Inventory/Item/Board',
26    ],
27    install: should_generate_cpp,
28    install_dir: [
29        get_option('includedir') / sdbusplus_current_path,
30        get_option('includedir') / sdbusplus_current_path,
31        false,
32        get_option('includedir') / sdbusplus_current_path,
33        get_option('includedir') / sdbusplus_current_path,
34    ],
35    build_by_default: should_generate_cpp,
36)
37
38generated_markdown += custom_target(
39    'xyz/openbmc_project/Inventory/Item/Board/IOBoard__markdown'.underscorify(),
40    input: [ '../../../../../../yaml/xyz/openbmc_project/Inventory/Item/Board/IOBoard.interface.yaml',  ],
41    output: [ 'IOBoard.md' ],
42    depend_files: sdbusplusplus_depfiles,
43    command: [
44        sdbuspp_gen_meson_prog, '--command', 'markdown',
45        '--output', meson.current_build_dir(),
46        '--tool', sdbusplusplus_prog,
47        '--directory', meson.current_source_dir() / '../../../../../../yaml',
48        'xyz/openbmc_project/Inventory/Item/Board/IOBoard',
49    ],
50    install: should_generate_markdown,
51    install_dir: [inst_markdown_dir / sdbusplus_current_path],
52    build_by_default: should_generate_markdown,
53)
54
55generated_markdown += custom_target(
56    'xyz/openbmc_project/Inventory/Item/Board/Motherboard__markdown'.underscorify(),
57    input: [ '../../../../../../yaml/xyz/openbmc_project/Inventory/Item/Board/Motherboard.interface.yaml',  ],
58    output: [ 'Motherboard.md' ],
59    depend_files: sdbusplusplus_depfiles,
60    command: [
61        sdbuspp_gen_meson_prog, '--command', 'markdown',
62        '--output', meson.current_build_dir(),
63        '--tool', sdbusplusplus_prog,
64        '--directory', meson.current_source_dir() / '../../../../../../yaml',
65        'xyz/openbmc_project/Inventory/Item/Board/Motherboard',
66    ],
67    install: should_generate_markdown,
68    install_dir: [inst_markdown_dir / sdbusplus_current_path],
69    build_by_default: should_generate_markdown,
70)
71
72