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