[gtk+/wip/meson] Set glib min/max versions
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/meson] Set glib min/max versions
- Date: Thu, 23 Mar 2017 15:11:21 +0000 (UTC)
commit f06e65fbc6b363ea8ca7e485cc5554fe2472b9b2
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 23 15:09:51 2017 +0000
Set glib min/max versions
meson.build | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 7afc9e1..db4950a 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,8 @@ project('gtk+-4.0', 'c',
license: 'LGPLv2.1+')
glib_req = '>= 2.49.4'
+glib_min_required = 'GLIB_VERSION_2_48'
+glib_max_allowed = 'GLIB_VERSION_2_50'
pango_req = '>= 1.37.3'
atk_req = '>= 2.15.1'
cairo_req = '>= 1.14.0'
@@ -22,10 +24,11 @@ epoxy_req = '>= 1.0'
gnome = import('gnome')
-# FIXME: add GLIB_MIN_REQUIRED_VERSION and GLIB_MAX_ALLOWED_VERSION
add_project_arguments('-DG_LOG_USE_STRUCTURED=1', language: 'c')
add_project_arguments('-DG_ENABLE_DEBUG', language: 'c')
add_project_arguments('-DG_ENABLE_CONSISTENCY_CHECKS', language: 'c')
+add_project_arguments('-DGLIB_MIN_REQUIRED_VERSION=' + glib_min_required, language: 'c')
+add_project_arguments('-DGLIB_MAX_ALLOWED_VERSION=' + glib_max_allowed, language: 'c')
# Making releases:
# 1. gtk_micro_version += 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]