utils/meson.build
raw| 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | # Copyright (C) 2019 - 2021 IƱigo Martinez <[email protected]> |
| 3 | |
| 4 | cflags = cc.get_supported_arguments([ |
| 5 | '-Wno-empty-body', |
| 6 | '-Wno-sign-compare', |
| 7 | '-Wno-switch-default', |
| 8 | ]) |
| 9 | |
| 10 | executable( |
| 11 | 'swi-update', |
| 12 | sources: 'swi-update.c', |
| 13 | c_args: cflags, |
| 14 | ) |
| 15 | |
| 16 | qmi_network = configure_file( |
| 17 | input: 'qmi-network.in', |
| 18 | output: '@BASENAME@', |
| 19 | configuration: version_conf, |
| 20 | install_dir: qmi_bindir, |
| 21 | install_mode: 'rwxr-xr-x', |
| 22 | ) |