From 8e1e10283a4149a7a052c718f077a15aba2c1a64 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 20 Jan 2021 09:32:21 +0200 Subject: libcamera: Use meson summary() function to summarize configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that Debian backports have been updated to meson v0.56, all major distributions provide meson >= v0.53 in their latest LTS version. We can replace the manual message()-based configuration summary with the summary() function. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Fricke Reviewed-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c47eb420..743cb1d2 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: CC0-1.0 project('libcamera', 'c', 'cpp', - meson_version : '>= 0.51', + meson_version : '>= 0.53', version : '0.0.0', default_options : [ 'werror=true', @@ -155,4 +155,6 @@ py_mod = import('python') py_mod.find_installation('python3', modules: py_modules) ## Summarise Configurations -message('Enabled pipelines: ' + ', '.join(get_option('pipelines'))) +summary({ + 'Enabled pipelines': get_option('pipelines'), + }, section : 'Configuration') -- cgit v1.2.1