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', |
Matt Spinler | bd868d2 | 2023-01-09 08:43:42 -0600 | [diff] [blame] | 5 | check: true, |
Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 6 | ).stdout().strip().split('\n')[0] |
| 7 | |
Patrick Williams | e1e8597 | 2024-09-24 15:10:40 -0400 | [diff] [blame^] | 8 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 9' |
Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 9 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') |
| 10 | warning( |
Patrick Williams | e1e8597 | 2024-09-24 15:10:40 -0400 | [diff] [blame^] | 11 | 'Expected "sdbus++-gen-meson version 9", got:', |
Patrick Williams | 0bb89f8 | 2021-04-16 16:30:04 -0500 | [diff] [blame] | 12 | sdbuspp_gen_meson_ver |
| 13 | ) |
| 14 | endif |
| 15 | |