Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -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 | |
William A. Kennington III | 8bcadac | 2021-06-10 15:44:54 -0700 | [diff] [blame] | 7 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 3' |
Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 8 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') |
| 9 | warning( |
William A. Kennington III | 8bcadac | 2021-06-10 15:44:54 -0700 | [diff] [blame] | 10 | 'Expected "sdbus++-gen-meson version 3", got:', |
Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 11 | sdbuspp_gen_meson_ver |
| 12 | ) |
| 13 | endif |
| 14 | |