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