[goobox] define DEBUG in config.h when the buildtype is debug
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] define DEBUG in config.h when the buildtype is debug
- Date: Fri, 28 Dec 2018 17:15:18 +0000 (UTC)
commit 542b3bb4b6b25b2dec6ee488f4a44ce9f62e5f73
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Dec 28 15:32:55 2018 +0100
define DEBUG in config.h when the buildtype is debug
meson.build | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index ff784d7..cc546ca 100644
--- a/meson.build
+++ b/meson.build
@@ -32,6 +32,9 @@ endif
config_data = configuration_data()
config_data.set_quoted('GETTEXT_PACKAGE', gettext_package)
config_data.set_quoted('GOO_LOCALEDIR', join_paths(prefix, get_option('localedir')))
+if get_option('buildtype').contains('debug')
+ config_data.set('DEBUG', 1)
+endif
if get_option('run-in-place')
config_data.set_quoted('GOO_UIDIR', join_paths(meson.source_root(), 'src', 'ui'))
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]