blob: c63d829eac2cce9b770564fd5f29e20f83877abf [file] [log] [blame]
Patrick Williamsd9632142020-06-24 16:12:44 -05001# Generated file; do not modify.
2sdbuspp_gen_meson_ver = run_command(
3 sdbuspp_gen_meson_prog,
4 '--version',
Patrick Williams85d0c902023-01-09 14:31:52 -06005 check: true,
Patrick Williamsd9632142020-06-24 16:12:44 -05006).stdout().strip().split('\n')[0]
7
Patrick Williams43006dd2024-09-19 16:38:01 -04008if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 8'
Patrick Williamsd9632142020-06-24 16:12:44 -05009 warning('Generated meson files from wrong version of sdbus++-gen-meson.')
10 warning(
Patrick Williams43006dd2024-09-19 16:38:01 -040011 'Expected "sdbus++-gen-meson version 8", got:',
Patrick Williamsd9632142020-06-24 16:12:44 -050012 sdbuspp_gen_meson_ver
13 )
14endif
15