Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 3 | server_hpp = custom_target( |
| 4 | 'server.hpp', |
| 5 | command : [ |
Patrick Williams | ce83688 | 2021-10-01 16:09:35 -0500 | [diff] [blame^] | 6 | sdbusplusplus_prog, '-r', meson.project_source_root(), |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 7 | 'interface', |
| 8 | 'server-header', |
| 9 | 'xyz.openbmc_project.Dump.Internal.Create', |
| 10 | ], |
| 11 | input : '../Create.interface.yaml', |
| 12 | capture : true, |
| 13 | output : 'server.hpp', |
| 14 | install : true, |
| 15 | install_dir: get_option('includedir') / 'xyz/openbmc_project/Dump/Internal/Create' |
| 16 | ) |
| 17 | |
| 18 | server_cpp = custom_target( |
| 19 | 'server.cpp', |
| 20 | command : [ |
Patrick Williams | ce83688 | 2021-10-01 16:09:35 -0500 | [diff] [blame^] | 21 | sdbusplusplus_prog, '-r', meson.project_source_root(), |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 22 | 'interface', |
| 23 | 'server-cpp', |
| 24 | 'xyz.openbmc_project.Dump.Internal.Create' |
| 25 | ], |
| 26 | input : '../Create.interface.yaml', |
| 27 | depends : server_hpp, |
| 28 | capture : true, |
| 29 | output : 'server.cpp' |
| 30 | ) |