From 2a9ba5e6a053aca2aef9ed99f25a5d8b67a945fa Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 24 Nov 2020 17:02:17 +0100 Subject: build: Show debug and optimisation flags in summary These can be confusing as Meson provides `--buildtype=`, `-Ddebug=` and `-Doptimization=` which can override each other. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 3121bfcac..a67231f9d 100644 --- a/meson.build +++ b/meson.build @@ -339,6 +339,8 @@ summary = [ '\nBuild Configuration:', ' Prefix: ' + get_option('prefix'), ' Source code location: ' + meson.current_source_dir(), + ' Debug: ' + get_option('debug').to_string(), + ' Optimization: ' + get_option('optimization'), ' Compiler: ' + cc.get_id(), '\nFeature Support:', ' Unicode support library: ' + unicode_library_name, -- cgit v1.2.1