blob: 2358f7c1301c89fcb74a7ff0bfff0fb6ab02c9d5 [file] [log] [blame]
if_yaml_file = files('../../../../../yaml/xyz/openbmc_project/Time/Boot/Duration.interface.yaml')
generated_hpp += custom_target(
'xyz/openbmc_project/Time/Boot/Duration__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/Duration',
],
install: true,
install_dir: get_option('includedir') + '/xyz/openbmc_project/Time/Boot/Duration',
)
generated_cpp += custom_target(
'xyz/openbmc_project/Time/Boot/Duration__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/Duration',
],
)