blob: a7da0a76adf669c06c37e21bd1f3251e7903705a [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
Chris Cain7bd6d142023-01-11 13:41:09 -06008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 5'
George Liubddcf852021-09-08 08:46:22 +08009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Chris Cain7bd6d142023-01-11 13:41:09 -060011 'Expected "sdbus++-gen-meson version 5", got:',
George Liubddcf852021-09-08 08:46:22 +080012 sdbuspp_gen_meson_ver
13 )
14endif
15