10bb89f8aSPatrick Williams# Generated file; do not modify. 20bb89f8aSPatrick Williamssdbuspp_gen_meson_ver = run_command( 30bb89f8aSPatrick Williams sdbuspp_gen_meson_prog, 40bb89f8aSPatrick Williams '--version', 5bd868d2eSMatt Spinler check: true, 60bb89f8aSPatrick Williams).stdout().strip().split('\n')[0] 70bb89f8aSPatrick Williams 8*ad0d7522SPatrick Williamsif sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 10' 90bb89f8aSPatrick Williams warning('Generated meson files from wrong version of sdbus++-gen-meson.') 100bb89f8aSPatrick Williams warning( 11*ad0d7522SPatrick Williams 'Expected "sdbus++-gen-meson version 10", got:', 120bb89f8aSPatrick Williams sdbuspp_gen_meson_ver 130bb89f8aSPatrick Williams ) 140bb89f8aSPatrick Williamsendif 150bb89f8aSPatrick Williams 16*ad0d7522SPatrick Williamsinst_markdown_dir = get_option('datadir') / 'doc' / meson.project_name() 17*ad0d7522SPatrick Williamsinst_registry_dir = get_option('datadir') / 'redfish-registry' / meson.project_name() 18*ad0d7522SPatrick Williams 19*ad0d7522SPatrick Williamsgenerated_sources = [] 20*ad0d7522SPatrick Williamsgenerated_markdown = [] 21*ad0d7522SPatrick Williamsgenerated_registry = [] 22*ad0d7522SPatrick Williams 23*ad0d7522SPatrick Williamsforeach d : yaml_selected_subdirs 24*ad0d7522SPatrick Williams subdir(d) 25*ad0d7522SPatrick Williamsendforeach 26*ad0d7522SPatrick Williams 27*ad0d7522SPatrick Williamsgenerated_headers = [] 28*ad0d7522SPatrick Williamsforeach s : generated_sources 29*ad0d7522SPatrick Williams foreach f : s.to_list() 30*ad0d7522SPatrick Williams if f.full_path().endswith('.hpp') 31*ad0d7522SPatrick Williams generated_headers += f 32*ad0d7522SPatrick Williams endif 33*ad0d7522SPatrick Williams endforeach 34*ad0d7522SPatrick Williamsendforeach 35*ad0d7522SPatrick Williams 36