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




commit 2a9ba5e6a053aca2aef9ed99f25a5d8b67a945fa
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..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,


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