George Liu | bddcf85 | 2021-09-08 08:46:22 +0800 | [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 | e2a5851 | 2022-09-13 11:26:57 -0500 | [diff] [blame] | 7 | if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 4' |
George Liu | bddcf85 | 2021-09-08 08:46:22 +0800 | [diff] [blame] | 8 | warning('Generated meson files from wrong version of sdbus++-gen-meson.') |
| 9 | warning( |
Patrick Williams | e2a5851 | 2022-09-13 11:26:57 -0500 | [diff] [blame] | 10 | 'Expected "sdbus++-gen-meson version 4", got:', |
George Liu | bddcf85 | 2021-09-08 08:46:22 +0800 | [diff] [blame] | 11 | sdbuspp_gen_meson_ver |
| 12 | ) |
| 13 | endif |
| 14 | |