summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2020-11-24 17:02:17 +0100
committerSam Thursfield <sam@afuera.me.uk>2020-11-24 17:02:17 +0100
commit2a9ba5e6a053aca2aef9ed99f25a5d8b67a945fa (patch)
treef676fef215672859aa9c546a33427b89aae24a95
parent781cfea608757e172ddc2cb698d20498760bd7fc (diff)
downloadtracker-2a9ba5e6a053aca2aef9ed99f25a5d8b67a945fa.tar.gz
build: Show debug and optimisation flags in summary
These can be confusing as Meson provides `--buildtype=`, `-Ddebug=` and `-Doptimization=` which can override each other.
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
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,