[glade/wip/noelgrandin/enable-debug: 2/3] meson: Activate enable-debug variables
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/wip/noelgrandin/enable-debug: 2/3] meson: Activate enable-debug variables
- Date: Sun, 4 Aug 2019 21:11:59 +0000 (UTC)
commit 8170777f2606b613a95d823fc0f12a2e54aac4ec
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Sun Aug 4 20:03:10 2019 +0200
meson: Activate enable-debug variables
meson.build | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index ffbbb407..ee772875 100644
--- a/meson.build
+++ b/meson.build
@@ -42,6 +42,9 @@ gladeui_libversion = '@0@.@1@.@2@'.format(gladeui_current_minus_age, gladeui_age
glade_system = host_machine.system()
glade_debug = get_option('buildtype').contains('debug')
+if glade_debug
+ add_project_arguments('-DGLADE_ENABLE_DEBUG', language : 'c')
+endif
glade_unstable = glade_minor_version.is_odd()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]