blob: 777d8472ec85b4203f7ec61a2a6e5ffac939283e [file] [log] [blame]
Patrick Williamsd9632142020-06-24 16:12:44 -05001# Generated file; do not modify.
2generated_sources += custom_target(
3 'xyz/openbmc_project/Inventory__cpp'.underscorify(),
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -07004 input: [ '../../../../yaml/xyz/openbmc_project/Inventory.errors.yaml', ],
Patrick Williamsd9632142020-06-24 16:12:44 -05005 output: [ 'error.cpp', 'error.hpp', ],
Patrick Williams11335242022-09-12 06:11:41 -05006 depend_files: sdbusplusplus_depfiles,
Patrick Williamsd9632142020-06-24 16:12:44 -05007 command: [
8 sdbuspp_gen_meson_prog, '--command', 'cpp',
9 '--output', meson.current_build_dir(),
10 '--tool', sdbusplusplus_prog,
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -070011 '--directory', meson.current_source_dir() / '../../../../yaml',
Patrick Williamsd9632142020-06-24 16:12:44 -050012 'xyz/openbmc_project/Inventory',
13 ],
14)
15
Willy Tu846182e2021-06-04 13:16:42 -070016subdir('Connector')
Patrick Williamsd9632142020-06-24 16:12:44 -050017subdir('Decorator')
18subdir('Item')
19generated_others += custom_target(
20 'xyz/openbmc_project/Inventory/Item__markdown'.underscorify(),
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -070021 input: [ '../../../../yaml/xyz/openbmc_project/Inventory/Item.interface.yaml', ],
Patrick Williamsd9632142020-06-24 16:12:44 -050022 output: [ 'Item.md' ],
Patrick Williams11335242022-09-12 06:11:41 -050023 depend_files: sdbusplusplus_depfiles,
Patrick Williamsd9632142020-06-24 16:12:44 -050024 command: [
25 sdbuspp_gen_meson_prog, '--command', 'markdown',
26 '--output', meson.current_build_dir(),
27 '--tool', sdbusplusplus_prog,
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -070028 '--directory', meson.current_source_dir() / '../../../../yaml',
Patrick Williamsd9632142020-06-24 16:12:44 -050029 'xyz/openbmc_project/Inventory/Item',
30 ],
Patrick Williamsd9632142020-06-24 16:12:44 -050031)
32
33subdir('Manager')
34generated_others += custom_target(
35 'xyz/openbmc_project/Inventory/Manager__markdown'.underscorify(),
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -070036 input: [ '../../../../yaml/xyz/openbmc_project/Inventory/Manager.interface.yaml', ],
Patrick Williamsd9632142020-06-24 16:12:44 -050037 output: [ 'Manager.md' ],
Patrick Williams11335242022-09-12 06:11:41 -050038 depend_files: sdbusplusplus_depfiles,
Patrick Williamsd9632142020-06-24 16:12:44 -050039 command: [
40 sdbuspp_gen_meson_prog, '--command', 'markdown',
41 '--output', meson.current_build_dir(),
42 '--tool', sdbusplusplus_prog,
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -070043 '--directory', meson.current_source_dir() / '../../../../yaml',
Patrick Williamsd9632142020-06-24 16:12:44 -050044 'xyz/openbmc_project/Inventory/Manager',
45 ],
Patrick Williamsd9632142020-06-24 16:12:44 -050046)
47
48subdir('Source')