blob: 8833ce7df8fb99a9b040d7581a095a806b897b43 [file] [log] [blame]
Patrick Williamsd9632142020-06-24 16:12:44 -05001# Generated file; do not modify.
Patrick Williams7f154002025-01-03 10:12:23 -05002
3sdbusplus_current_path = 'xyz/openbmc_project/ScheduledTime'
4
Patrick Williamsd9632142020-06-24 16:12:44 -05005generated_sources += custom_target(
6 'xyz/openbmc_project/ScheduledTime__cpp'.underscorify(),
Patrick Williams7f154002025-01-03 10:12:23 -05007 input: [
8 '../../../../yaml/xyz/openbmc_project/ScheduledTime.errors.yaml',
9 ],
10 output: [
11 'error.cpp',
12 'error.hpp',
13 ],
Patrick Williams11335242022-09-12 06:11:41 -050014 depend_files: sdbusplusplus_depfiles,
Patrick Williamsd9632142020-06-24 16:12:44 -050015 command: [
16 sdbuspp_gen_meson_prog, '--command', 'cpp',
17 '--output', meson.current_build_dir(),
18 '--tool', sdbusplusplus_prog,
William A. Kennington IIIb1b4d262021-06-05 12:22:23 -070019 '--directory', meson.current_source_dir() / '../../../../yaml',
Patrick Williamsd9632142020-06-24 16:12:44 -050020 'xyz/openbmc_project/ScheduledTime',
21 ],
Patrick Williams7f154002025-01-03 10:12:23 -050022 install: should_generate_cpp,
23 install_dir: [
24 false,
25 get_option('includedir') / sdbusplus_current_path,
26 ],
27 build_by_default: should_generate_cpp,
Patrick Williamsd9632142020-06-24 16:12:44 -050028)
29