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 | 16599e2 | 2021-04-15 13:47:07 -0500 | [diff] [blame] | 7 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 2' |
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 | 16599e2 | 2021-04-15 13:47:07 -0500 | [diff] [blame] | 10 | 'Expected "sdbus++-gen-meson version 2", got:', |
Patrick Williams | d963214 | 2020-06-24 16:12:44 -0500 | [diff] [blame] | 11 | sdbuspp_gen_meson_ver |
| 12 | ) |
| 13 | endif |
| 14 | |