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