diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2017-08-30 14:02:37 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2017-08-30 14:14:11 -0500 |
commit | d92acde9fe4c406774677f1dc9c399adcfc7150e (patch) | |
tree | 35603c8ab3e962d21361f9bf383bbeecbcc4f236 /meson_options.txt | |
parent | 46f67db9d92f519050cc1d11faac30a0034586ff (diff) | |
download | epiphany-d92acde9fe4c406774677f1dc9c399adcfc7150e.tar.gz |
Rename build options
The Meson developers have recommended that we omit enable/disable
prefixes from option names, as it's redundant with the boolean value.
Note that we intentionally retain underscores, rather than hyphens.
There doesn't seem to be a convention for Meson, but this is suggested
by the Meson documentation, looks nicer, and matches the convention in
CMake world, which is the only other major build system to use -D
notation for defining options.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt index fdc3bb604..58405865e 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -10,13 +10,13 @@ option('distributor_name', description: 'Distributor name displayed on process crash page' ) -option('enable_https_everywhere', +option('https_everywhere', type: 'boolean', value: false, description: 'Enable experimental HTTPS Everywhere support' ) -option('enable_unit_tests', +option('unit_tests', type: 'boolean', value: true, description: 'Enable unit tests' |