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




commit dcb7341211f94d026ac54452fdabdb161acd610c
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Nov 24 17:02:17 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 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(),


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