Amithash Prasad | d120d2e | 2025-02-10 14:44:57 -0800 | [diff] [blame] | 1 | # Generated file; do not modify. |
| 2 | |
| 3 | sdbusplus_current_path = 'com/meta/IPMI/UnifiedSEL' |
| 4 | |
| 5 | generated_sources += custom_target( |
| 6 | 'com/meta/IPMI/UnifiedSEL__cpp'.underscorify(), |
| 7 | input: ['../../../../../yaml/com/meta/IPMI/UnifiedSEL.events.yaml'], |
| 8 | output: ['event.cpp', 'event.hpp'], |
| 9 | depend_files: sdbusplusplus_depfiles, |
| 10 | command: [ |
| 11 | sdbuspp_gen_meson_prog, |
| 12 | '--command', |
| 13 | 'cpp', |
| 14 | '--output', |
| 15 | meson.current_build_dir(), |
| 16 | '--tool', |
| 17 | sdbusplusplus_prog, |
| 18 | '--directory', |
| 19 | meson.current_source_dir() / '../../../../../yaml', |
| 20 | 'com/meta/IPMI/UnifiedSEL', |
| 21 | ], |
| 22 | install: should_generate_cpp, |
| 23 | install_dir: [false, get_option('includedir') / sdbusplus_current_path], |
| 24 | build_by_default: should_generate_cpp, |
| 25 | ) |
| 26 | |