Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 1 | # Generated file; do not modify. |
Patrick Williams | 7f15400 | 2025-01-03 10:12:23 -0500 | [diff] [blame] | 2 | subdir('Definitions') |
| 3 | |
| 4 | sdbusplus_current_path = 'xyz/openbmc_project/Association' |
| 5 | |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 6 | generated_sources += custom_target( |
| 7 | 'xyz/openbmc_project/Association__cpp'.underscorify(), |
Patrick Williams | 7f15400 | 2025-01-03 10:12:23 -0500 | [diff] [blame] | 8 | input: [ |
| 9 | '../../../../yaml/xyz/openbmc_project/Association.interface.yaml', |
| 10 | ], |
| 11 | output: [ |
| 12 | 'common.hpp', |
| 13 | 'server.hpp', |
| 14 | 'server.cpp', |
| 15 | 'aserver.hpp', |
| 16 | 'client.hpp', |
| 17 | ], |
Patrick Williams | 1133524 | 2022-09-12 06:11:41 -0500 | [diff] [blame] | 18 | depend_files: sdbusplusplus_depfiles, |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 19 | command: [ |
| 20 | sdbuspp_gen_meson_prog, '--command', 'cpp', |
| 21 | '--output', meson.current_build_dir(), |
| 22 | '--tool', sdbusplusplus_prog, |
William A. Kennington III | b1b4d26 | 2021-06-05 12:22:23 -0700 | [diff] [blame] | 23 | '--directory', meson.current_source_dir() / '../../../../yaml', |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 24 | 'xyz/openbmc_project/Association', |
| 25 | ], |
Patrick Williams | 7f15400 | 2025-01-03 10:12:23 -0500 | [diff] [blame] | 26 | install: should_generate_cpp, |
| 27 | install_dir: [ |
| 28 | get_option('includedir') / sdbusplus_current_path, |
| 29 | get_option('includedir') / sdbusplus_current_path, |
| 30 | false, |
| 31 | get_option('includedir') / sdbusplus_current_path, |
| 32 | get_option('includedir') / sdbusplus_current_path, |
| 33 | ], |
| 34 | build_by_default: should_generate_cpp, |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 35 | ) |
| 36 | |
Patrick Williams | 7f15400 | 2025-01-03 10:12:23 -0500 | [diff] [blame] | 37 | generated_markdown += custom_target( |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 38 | 'xyz/openbmc_project/Association/Definitions__markdown'.underscorify(), |
William A. Kennington III | b1b4d26 | 2021-06-05 12:22:23 -0700 | [diff] [blame] | 39 | input: [ '../../../../yaml/xyz/openbmc_project/Association/Definitions.interface.yaml', ], |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 40 | output: [ 'Definitions.md' ], |
Patrick Williams | 1133524 | 2022-09-12 06:11:41 -0500 | [diff] [blame] | 41 | depend_files: sdbusplusplus_depfiles, |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 42 | command: [ |
| 43 | sdbuspp_gen_meson_prog, '--command', 'markdown', |
| 44 | '--output', meson.current_build_dir(), |
| 45 | '--tool', sdbusplusplus_prog, |
William A. Kennington III | b1b4d26 | 2021-06-05 12:22:23 -0700 | [diff] [blame] | 46 | '--directory', meson.current_source_dir() / '../../../../yaml', |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 47 | 'xyz/openbmc_project/Association/Definitions', |
| 48 | ], |
Patrick Williams | 7f15400 | 2025-01-03 10:12:23 -0500 | [diff] [blame] | 49 | install: should_generate_markdown, |
| 50 | install_dir: [inst_markdown_dir / sdbusplus_current_path], |
| 51 | build_by_default: should_generate_markdown, |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 52 | ) |
| 53 | |