| if_yaml_file = files('../../../../../yaml/xyz/openbmc_project/Time/Boot/Checkpoint.interface.yaml') |
| |
| generated_hpp += custom_target( |
| 'xyz/openbmc_project/Time/Boot/Checkpoint__hpp'.underscorify(), |
| input: [if_yaml_file], |
| output: [ 'common.hpp', 'server.hpp' ], |
| command: [ |
| sdbuspp_gen_meson_prog, '--command', 'cpp', |
| '--output', meson.current_build_dir(), |
| '--tool', sdbusplusplus_prog, |
| '--directory', meson.current_source_dir() / '../../../../../yaml', |
| 'xyz/openbmc_project/Time/Boot/Checkpoint', |
| ], |
| install: true, |
| install_dir: get_option('includedir') + '/xyz/openbmc_project/Time/Boot/Checkpoint', |
| ) |
| |
| generated_cpp += custom_target( |
| 'xyz/openbmc_project/Time/Boot/Checkpoint__cpp'.underscorify(), |
| input: [if_yaml_file], |
| output: [ 'server.cpp' ], |
| command: [ |
| sdbuspp_gen_meson_prog, '--command', 'cpp', |
| '--output', meson.current_build_dir(), |
| '--tool', sdbusplusplus_prog, |
| '--directory', meson.current_source_dir() / '../../../../../yaml', |
| 'xyz/openbmc_project/Time/Boot/Checkpoint', |
| ], |
| ) |