From 3c9e134287362f3273ff04a86f32838b65b2651e Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 24 Feb 2023 16:02:47 +0200 Subject: meson: Add summary Add summary print for meson configuration. Signed-off-by: Tomi Valkeinen --- meson.build | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 9e1b471..6ec1672 100644 --- a/meson.build +++ b/meson.build @@ -45,17 +45,17 @@ if get_option('libutils') endif subdir('kms++') - -if get_option('libutils') - subdir('kms++util') -endif - -if get_option('utils') - subdir('utils') -endif - +subdir('kms++util') +subdir('utils') +subdir('kmscube') subdir('py') -if get_option('kmscube') - subdir('kmscube') -endif +summary({ + 'omapdrm extensions': omapdrm_enabled, + 'kms++utils library': libutils_enabled, + 'Python bindings': pybindings_enabled, + 'kmscube': kmscube_enabled, + 'Utilities': libutils_enabled, + }, + section : 'Configuration', + bool_yn : true) -- cgit v1.2.3