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