blob: ce9c3e5ddb73bdbbaae3544337e4bf541b3e42a2 [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: [
Patrick Williams0e788282025-01-31 06:34:56 -050022 sdbuspp_gen_meson_prog,
23 '--command',
24 'cpp',
25 '--output',
26 meson.current_build_dir(),
27 '--tool',
28 sdbusplusplus_prog,
29 '--directory',
30 meson.current_source_dir() / '../../../../../yaml',
John Edward Broadbent2b2784a2022-02-03 19:54:34 -080031 'com/google/gbmc/Hoth',
32 ],
Patrick Williams7f154002025-01-03 10:12:23 -050033 install: should_generate_cpp,
34 install_dir: [
35 false,
36 get_option('includedir') / sdbusplus_current_path,
37 get_option('includedir') / sdbusplus_current_path,
38 get_option('includedir') / sdbusplus_current_path,
39 false,
40 get_option('includedir') / sdbusplus_current_path,
41 get_option('includedir') / sdbusplus_current_path,
42 ],
43 build_by_default: should_generate_cpp,
John Edward Broadbent2b2784a2022-02-03 19:54:34 -080044)
45