xref: /openbmc/phosphor-dbus-interfaces/gen/org/open_power/Host/meson.build (revision 7b5b4e82d394dcbbd8c5d50641eb9572b2121b50)
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: [
10        '../../../../yaml/org/open_power/Host.errors.yaml',
11    ],
12    output: [
13        'error.cpp',
14        'error.hpp',
15    ],
16    depend_files: sdbusplusplus_depfiles,
17    command: [
18        sdbuspp_gen_meson_prog, '--command', 'cpp',
19        '--output', meson.current_build_dir(),
20        '--tool', sdbusplusplus_prog,
21        '--directory', meson.current_source_dir() / '../../../../yaml',
22        'org/open_power/Host',
23    ],
24    install: should_generate_cpp,
25    install_dir: [
26        false,
27        get_option('includedir') / sdbusplus_current_path,
28    ],
29    build_by_default: should_generate_cpp,
30)
31
32generated_markdown += custom_target(
33    'org/open_power/Host/Access__markdown'.underscorify(),
34    input: [ '../../../../yaml/org/open_power/Host/Access.errors.yaml',  ],
35    output: [ 'Access.md' ],
36    depend_files: sdbusplusplus_depfiles,
37    command: [
38        sdbuspp_gen_meson_prog, '--command', 'markdown',
39        '--output', meson.current_build_dir(),
40        '--tool', sdbusplusplus_prog,
41        '--directory', meson.current_source_dir() / '../../../../yaml',
42        'org/open_power/Host/Access',
43    ],
44    install: should_generate_markdown,
45    install_dir: [inst_markdown_dir / sdbusplus_current_path],
46    build_by_default: should_generate_markdown,
47)
48
49generated_markdown += custom_target(
50    'org/open_power/Host/Boot__markdown'.underscorify(),
51    input: [ '../../../../yaml/org/open_power/Host/Boot.errors.yaml',  ],
52    output: [ 'Boot.md' ],
53    depend_files: sdbusplusplus_depfiles,
54    command: [
55        sdbuspp_gen_meson_prog, '--command', 'markdown',
56        '--output', meson.current_build_dir(),
57        '--tool', sdbusplusplus_prog,
58        '--directory', meson.current_source_dir() / '../../../../yaml',
59        'org/open_power/Host/Boot',
60    ],
61    install: should_generate_markdown,
62    install_dir: [inst_markdown_dir / sdbusplus_current_path],
63    build_by_default: should_generate_markdown,
64)
65
66