William A. Kennington III | 0a01b2a | 2021-05-13 18:38:57 -0700 | [diff] [blame] | 1 | # Generated file; do not modify. |
| 2 | sdbuspp_gen_meson_ver = run_command( |
| 3 | sdbuspp_gen_meson_prog, |
| 4 | '--version', |
Patrick Williams | a307b11 | 2023-01-09 15:16:15 -0600 | [diff] [blame] | 5 | check: true, |
William A. Kennington III | 0a01b2a | 2021-05-13 18:38:57 -0700 | [diff] [blame] | 6 | ).stdout().strip().split('\n')[0] |
| 7 | |
Patrick Williams | b03a760 | 2023-04-21 15:07:57 -0500 | [diff] [blame] | 8 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 6' |
William A. Kennington III | 0a01b2a | 2021-05-13 18:38:57 -0700 | [diff] [blame] | 9 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') |
| 10 | warning( |
Patrick Williams | b03a760 | 2023-04-21 15:07:57 -0500 | [diff] [blame] | 11 | 'Expected "sdbus++-gen-meson version 6", got:', |
William A. Kennington III | 0a01b2a | 2021-05-13 18:38:57 -0700 | [diff] [blame] | 12 | sdbuspp_gen_meson_ver |
| 13 | ) |
| 14 | endif |
| 15 | |