Willam A. Kennington III | ce8d16d | 2022-09-07 15:46:40 -0700 | [diff] [blame] | 1 | # Generated file; do not modify. |
| 2 | sdbuspp_gen_meson_ver = run_command( |
| 3 | sdbuspp_gen_meson_prog, |
| 4 | '--version', |
Ed Tanous | 60a9430 | 2023-01-06 13:52:45 -0800 | [diff] [blame] | 5 | check: true, |
Willam A. Kennington III | ce8d16d | 2022-09-07 15:46:40 -0700 | [diff] [blame] | 6 | ).stdout().strip().split('\n')[0] |
| 7 | |
Ed Tanous | 60a9430 | 2023-01-06 13:52:45 -0800 | [diff] [blame] | 8 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 5' |
Willam A. Kennington III | ce8d16d | 2022-09-07 15:46:40 -0700 | [diff] [blame] | 9 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') |
| 10 | warning( |
Ed Tanous | 60a9430 | 2023-01-06 13:52:45 -0800 | [diff] [blame] | 11 | 'Expected "sdbus++-gen-meson version 5", got:', |
Willam A. Kennington III | ce8d16d | 2022-09-07 15:46:40 -0700 | [diff] [blame] | 12 | sdbuspp_gen_meson_ver |
| 13 | ) |
| 14 | endif |
| 15 | |