[geary/mjog/meson-cleanup: 6/8] Sort meson config options
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/meson-cleanup: 6/8] Sort meson config options
- Date: Fri, 27 Sep 2019 14:32:38 +0000 (UTC)
commit cf8ea7e4367da88e7b8b9a8f41121a330a727a29
Author: Michael Gratton <mike vee net>
Date: Sat Sep 28 00:25:07 2019 +1000
Sort meson config options
meson.build | 8 ++++----
meson_options.txt | 61 +++++++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 57 insertions(+), 12 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4eaf707d..af71f60a 100644
--- a/meson.build
+++ b/meson.build
@@ -7,13 +7,13 @@ project('geary', [ 'vala', 'c' ],
gnome = import('gnome')
i18n = import('i18n')
-# Option
+# Build-time configuration options
+enable_valadoc = get_option('valadoc')
install_contractor_file = get_option('contractor')
-iso_639_xml = get_option('iso_639_xml')
iso_3166_xml = get_option('iso_3166_xml')
-reference_tracking = get_option('ref_tracking')
+iso_639_xml = get_option('iso_639_xml')
poodle = get_option('poodle')
-enable_valadoc = get_option('valadoc')
+reference_tracking = get_option('ref_tracking')
revno = run_command('build-aux/git_version.py').stdout().strip()
diff --git a/meson_options.txt b/meson_options.txt
index a1f1b7c6..043f3142 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,11 +1,50 @@
-option('valadoc', type: 'boolean', value: false, description: 'Whether to build the documentaton (requires
valadoc).')
-option('contractor', type: 'boolean', value: false, description: 'Whether to install the contractor file
(Elementary OS-specific).')
-option('poodle', type: 'boolean', value: true, description: 'Whether to apply the POODLE SSLv3 fix.')
-option('ref_tracking', type: 'boolean', value: false, description: 'Whether to use explicit reference
tracking.')
-option('iso_639_xml', type: 'string', value: '', description: 'Full path to the ISO 639 XML file.')
-option('iso_3166_xml', type: 'string', value: '', description: 'Full path to the ISO 3166 XML file.')
-option('libunwind_optional', type: 'boolean', value: false, description: 'Determines if libunwind is
required.')
-option('tnef-support', type: 'boolean', value: true, description: 'Whether to support TNEF attachments
(requires libytnef).')
+#
+# General build options
+#
+option(
+ 'contractor',
+ type: 'boolean',
+ value: false,
+ description: 'Whether to install the contractor file (Elementary OS-specific).'
+)
+option(
+ 'iso_639_xml',
+ type: 'string',
+ value: '',
+ description: 'Full path to the ISO 639 XML file.'
+)
+option(
+ 'iso_3166_xml',
+ type: 'string',
+ value: '',
+ description: 'Full path to the ISO 3166 XML file.'
+)
+option(
+ 'libunwind_optional',
+ type: 'boolean',
+ value: false,
+ description: 'Determines if libunwind is required.'
+)
+option(
+ 'poodle',
+ type: 'boolean',
+ value: true,
+ description: 'Whether to apply the POODLE SSLv3 fix.'
+)
+option(
+ 'tnef-support',
+ type: 'boolean',
+ value: true,
+ description: 'Whether to support TNEF attachments (requires libytnef).'
+)
+option(
+ 'valadoc',
+ type: 'boolean',
+ value: false,
+ description: 'Whether to build the documentaton (requires valadoc).'
+)
+
+# Development options
option(
'profile',
type: 'combo',
@@ -13,3 +52,9 @@ option(
choices: ['default','development','beta'],
description: 'Specifies the application type to be built'
)
+option(
+ 'ref_tracking',
+ type: 'boolean',
+ value: false,
+ description: 'Whether to use explicit reference tracking.'
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]