blob: f2d2c452dc735fd9acfdf19f0b949c0aad013536 [file] [log] [blame]
# SPDX-License-Identifier: Apache-2.0
common_hpp = custom_target(
'common.hpp',
command : [
sdbusplusplus_prog, '-r', meson.project_source_root(),
'interface',
'common-header',
'xyz.openbmc_project.Dump.Internal.Create',
],
input : '../Create.interface.yaml',
capture : true,
output : 'common.hpp',
install : true,
install_dir: get_option('includedir') / 'xyz/openbmc_project/Dump/Internal/Create'
)
server_hpp = custom_target(
'server.hpp',
command : [
sdbusplusplus_prog, '-r', meson.project_source_root(),
'interface',
'server-header',
'xyz.openbmc_project.Dump.Internal.Create',
],
input : '../Create.interface.yaml',
depends: common_hpp,
capture : true,
output : 'server.hpp',
install : true,
install_dir: get_option('includedir') / 'xyz/openbmc_project/Dump/Internal/Create'
)
server_cpp = custom_target(
'server.cpp',
command : [
sdbusplusplus_prog, '-r', meson.project_source_root(),
'interface',
'server-cpp',
'xyz.openbmc_project.Dump.Internal.Create'
],
input : '../Create.interface.yaml',
depends : server_hpp,
capture : true,
output : 'server.cpp'
)