[libgweather/ebassi/gtk4: 13/28] build: Add default options




commit 2a166310cabc8fc68126ca9ad6ba99ace183a4f3
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Oct 10 16:38:49 2021 +0100

    build: Add default options
    
    Enable warnings, and produce debug-optimized builds by default.

 meson.build | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 358b5f39..1e7c8b7b 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,10 @@
 project('libgweather', 'c',
   version: '40.0',
   meson_version: '>= 0.55.0',
+  default_options: [
+    'warning_level=2',
+    'buildtype=debugoptimized',
+  ],
 )
 
 # Add another 0, so that we can release without a suffix


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