Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 1 | # Generated file; do not modify. |
| 2 | sdbuspp_gen_meson_ver = run_command( |
| 3 | sdbuspp_gen_meson_prog, |
| 4 | '--version', |
| 5 | ).stdout().strip().split('\n')[0] |
| 6 | |
Patrick Williams | 1133524 | 2022-09-12 06:11:41 -0500 | [diff] [blame] | 7 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 4' |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 8 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') |
| 9 | warning( |
Patrick Williams | 1133524 | 2022-09-12 06:11:41 -0500 | [diff] [blame] | 10 | 'Expected "sdbus++-gen-meson version 4", got:', |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 11 | sdbuspp_gen_meson_ver |
| 12 | ) |
| 13 | endif |
| 14 | |