xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Time/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('EpochTime')
3subdir('Synchronization')
4
5sdbusplus_current_path = 'xyz/openbmc_project/Time'
6
7generated_sources += custom_target(
8    'xyz/openbmc_project/Time__cpp'.underscorify(),
9    input: [
10        '../../../../yaml/xyz/openbmc_project/Time.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        'xyz/openbmc_project/Time',
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    'xyz/openbmc_project/Time/EpochTime__markdown'.underscorify(),
34    input: [ '../../../../yaml/xyz/openbmc_project/Time/EpochTime.interface.yaml',  ],
35    output: [ 'EpochTime.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        'xyz/openbmc_project/Time/EpochTime',
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    'xyz/openbmc_project/Time/Synchronization__markdown'.underscorify(),
51    input: [ '../../../../yaml/xyz/openbmc_project/Time/Synchronization.interface.yaml',  ],
52    output: [ 'Synchronization.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        'xyz/openbmc_project/Time/Synchronization',
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