blob: 23394acebba39a89bcf4224a2d520e1bdf102546 [file] [log] [blame]
George Liubddcf852021-09-08 08:46:22 +08001# Generated file; do not modify.
2sdbuspp_gen_meson_ver = run_command(
3 sdbuspp_gen_meson_prog,
4 '--version',
Chris Cain7bd6d142023-01-11 13:41:09 -06005 check: true,
George Liubddcf852021-09-08 08:46:22 +08006).stdout().strip().split('\n')[0]
7
Patrick Williams811ac9b2023-04-21 11:15:54 -05008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 6'
George Liubddcf852021-09-08 08:46:22 +08009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williams811ac9b2023-04-21 11:15:54 -050011 'Expected "sdbus++-gen-meson version 6", got:',
George Liubddcf852021-09-08 08:46:22 +080012 sdbuspp_gen_meson_ver
13 )
14endif
15