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 | |
Patrick Williams | 1d038d5 | 2022-09-12 10:56:30 -0500 | [diff] [blame] | 7 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 4' |
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( |
Patrick Williams | 1d038d5 | 2022-09-12 10:56:30 -0500 | [diff] [blame] | 10 | 'Expected "sdbus++-gen-meson version 4", got:', |
Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 11 | sdbuspp_gen_meson_ver |
| 12 | ) |
| 13 | endif |
| 14 | |