devtools: split meson build helper
authorDavid Marchand <david.marchand@redhat.com>
Sun, 2 Feb 2020 21:08:33 +0000 (22:08 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Feb 2020 14:14:46 +0000 (15:14 +0100)
commitd6f923ba4a458a17d1f47f41db9c0ea960bba8b5
treec6208e51e8e954bb0f4bde646833f241f7e12006
parent251d69a26ec7b3f279bd635b2a04d2c15c654d7d
devtools: split meson build helper

No functional change intended, prepare for reusing this code.
The config and compilation parts are separated in helpers.
Unsetting CC is moved to the caller of the helper.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
devtools/test-meson-builds.sh