[tracker-miners/sam/show-debug] build: Show debug and optimisation flags in summary




commit 69d16cc0036a768a4037626e38dc4789c09516f2
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Nov 24 17:01:14 2020 +0100

    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 f8e12d51d..2d598d200 100644
--- a/meson.build
+++ b/meson.build
@@ -468,6 +468,8 @@ summary = [
   '    Prefix:                                 ' + get_option('prefix'),
   '    Source code location:                   ' + meson.source_root(),
   '    Compiler:                               ' + cc.get_id(),
+  '    Debug:                                  ' + get_option('debug').to_string(),
+  '    Optimization:                           ' + get_option('optimization'),
   '    Domain prefix:                          ' + get_option('domain_prefix'),
   '\nFeature Support:',
   '    Battery/mains power detection:          ' + battery_detection_library_name,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]