blob: 57f9dafea79cf405397e8b10ea395f1fb42b6dca [file] [log] [blame]
John Edward Broadbent2b2784a2022-02-03 19:54:34 -08001# Generated file; do not modify.
Patrick Williams7f154002025-01-03 10:12:23 -05002
3sdbusplus_current_path = 'com/google/gbmc/Hoth'
4
John Edward Broadbent2b2784a2022-02-03 19:54:34 -08005generated_sources += custom_target(
6 'com/google/gbmc/Hoth__cpp'.underscorify(),
Patrick Williams7f154002025-01-03 10:12:23 -05007 input: [
8 '../../../../../yaml/com/google/gbmc/Hoth.errors.yaml',
9 '../../../../../yaml/com/google/gbmc/Hoth.interface.yaml',
10 ],
11 output: [
12 'error.cpp',
13 'error.hpp',
14 'common.hpp',
15 'server.hpp',
16 'server.cpp',
17 'aserver.hpp',
18 'client.hpp',
19 ],
Patrick Williams11335242022-09-12 06:11:41 -050020 depend_files: sdbusplusplus_depfiles,
John Edward Broadbent2b2784a2022-02-03 19:54:34 -080021 command: [
22 sdbuspp_gen_meson_prog, '--command', 'cpp',
23 '--output', meson.current_build_dir(),
24 '--tool', sdbusplusplus_prog,
25 '--directory', meson.current_source_dir() / '../../../../../yaml',
26 'com/google/gbmc/Hoth',
27 ],
Patrick Williams7f154002025-01-03 10:12:23 -050028 install: should_generate_cpp,
29 install_dir: [
30 false,
31 get_option('includedir') / sdbusplus_current_path,
32 get_option('includedir') / sdbusplus_current_path,
33 get_option('includedir') / sdbusplus_current_path,
34 false,
35 get_option('includedir') / sdbusplus_current_path,
36 get_option('includedir') / sdbusplus_current_path,
37 ],
38 build_by_default: should_generate_cpp,
John Edward Broadbent2b2784a2022-02-03 19:54:34 -080039)
40