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:25:47 +0100
commitdcb7341211f94d026ac54452fdabdb161acd610c (patch)
tree715a557c943252ef75dba8680cde27636be7ea90
parent781cfea608757e172ddc2cb698d20498760bd7fc (diff)
downloadtracker-sam/show-debug.tar.gz
build: Show debug and optimisation flags in summarysam/show-debug
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..d88ce54f6 100644
--- a/meson.build
+++ b/meson.build
@@ -340,6 +340,8 @@ summary = [
' Prefix: ' + get_option('prefix'),
' Source code location: ' + meson.current_source_dir(),
' Compiler: ' + cc.get_id(),
+ ' Debug: ' + get_option('debug').to_string(),
+ ' Optimization: ' + get_option('optimization'),
'\nFeature Support:',
' Unicode support library: ' + unicode_library_name,
' Use external FTS module: ' + (not sqlite3_has_builtin_fts5).to_string(),