blob: c63d829eac2cce9b770564fd5f29e20f83877abf [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 Williamse7bd1842024-09-19 16:38:31 -04008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 8'
William A. Kennington III0a01b2a2021-05-13 18:38:57 -07009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williamse7bd1842024-09-19 16:38:31 -040011 'Expected "sdbus++-gen-meson version 8", got:',
William A. Kennington III0a01b2a2021-05-13 18:38:57 -070012 sdbuspp_gen_meson_ver
13 )
14endif
15