blob: ef27aee99861acf2d5c38442b2481361d5666aed [file] [log] [blame]
William A. Kennington III0a01b2a2021-05-13 18:38:57 -07001# Generated file; do not modify.
2sdbuspp_gen_meson_ver = run_command(
3 sdbuspp_gen_meson_prog,
4 '--version',
Patrick Williamsa307b112023-01-09 15:16:15 -06005 check: true,
William A. Kennington III0a01b2a2021-05-13 18:38:57 -07006).stdout().strip().split('\n')[0]
7
Patrick Williams5be691c2025-01-10 15:12:30 -05008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 10'
William A. Kennington III0a01b2a2021-05-13 18:38:57 -07009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williams5be691c2025-01-10 15:12:30 -050011 'Expected "sdbus++-gen-meson version 10", got:',
William A. Kennington III0a01b2a2021-05-13 18:38:57 -070012 sdbuspp_gen_meson_ver
13 )
14endif
15
Patrick Williams5be691c2025-01-10 15:12:30 -050016inst_markdown_dir = get_option('datadir') / 'doc' / meson.project_name()
17inst_registry_dir = get_option('datadir') / 'redfish-registry' / meson.project_name()
18
19generated_sources = []
20generated_markdown = []
21generated_registry = []
22
23foreach d : yaml_selected_subdirs
24 subdir(d)
25endforeach
26
27generated_headers = []
28foreach s : generated_sources
29 foreach f : s.to_list()
30 if f.full_path().endswith('.hpp')
31 generated_headers += f
32 endif
33 endforeach
34endforeach
35