blob: 6fe142183f5e2d3515937347778f5a82ef7d6f6d [file] [log] [blame]
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',
],
)