blob: 23394acebba39a89bcf4224a2d520e1bdf102546 [file] [log] [blame]
Willam A. Kennington IIIce8d16d2022-09-07 15:46:40 -07001# Generated file; do not modify.
2sdbuspp_gen_meson_ver = run_command(
3 sdbuspp_gen_meson_prog,
4 '--version',
Ed Tanous60a94302023-01-06 13:52:45 -08005 check: true,
Willam A. Kennington IIIce8d16d2022-09-07 15:46:40 -07006).stdout().strip().split('\n')[0]
7
Patrick Williams1caa5e82023-04-19 16:24:38 -05008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 6'
Willam A. Kennington IIIce8d16d2022-09-07 15:46:40 -07009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williams1caa5e82023-04-19 16:24:38 -050011 'Expected "sdbus++-gen-meson version 6", got:',
Willam A. Kennington IIIce8d16d2022-09-07 15:46:40 -070012 sdbuspp_gen_meson_ver
13 )
14endif
15