blob: 23394acebba39a89bcf4224a2d520e1bdf102546 [file] [log] [blame]
Patrick Williams0bb89f82021-04-16 16:30:04 -05001# Generated file; do not modify.
2sdbuspp_gen_meson_ver = run_command(
3 sdbuspp_gen_meson_prog,
4 '--version',
Matt Spinlerbd868d22023-01-09 08:43:42 -06005 check: true,
Patrick Williams0bb89f82021-04-16 16:30:04 -05006).stdout().strip().split('\n')[0]
7
Patrick Williamsf9e3e262023-04-21 11:15:49 -05008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 6'
Patrick Williams0bb89f82021-04-16 16:30:04 -05009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williamsf9e3e262023-04-21 11:15:49 -050011 'Expected "sdbus++-gen-meson version 6", got:',
Patrick Williams0bb89f82021-04-16 16:30:04 -050012 sdbuspp_gen_meson_ver
13 )
14endif
15