blob: 23394acebba39a89bcf4224a2d520e1bdf102546 [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 Williamsb03a7602023-04-21 15:07:57 -05008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 6'
William A. Kennington III0a01b2a2021-05-13 18:38:57 -07009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williamsb03a7602023-04-21 15:07:57 -050011 'Expected "sdbus++-gen-meson version 6", got:',
William A. Kennington III0a01b2a2021-05-13 18:38:57 -070012 sdbuspp_gen_meson_ver
13 )
14endif
15