From ab21dde5a39c4a53b7e2bf4f7dbec4e718e2853d Mon Sep 17 00:00:00 2001
From: Robert Izzard <r.izzard@surrey.ac.uk>
Date: Fri, 6 Dec 2019 14:22:13 +0000
Subject: [PATCH] add descriptions to meson options

---
 meson_options.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meson_options.txt b/meson_options.txt
index 85a580e59..56e97cab5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,8 +1,8 @@
 
 # Meson options for binary_c 
 
-option('accurate', type : 'boolean', value: false)
-option('generic', type : 'boolean', value: false)
-option('libname', type : 'string', value: 'binary_c')
-option('usepch', type : 'boolean', value: true)
-option('clean_data_objects', type : 'boolean', value : false)
+option('accurate', type : 'boolean', value: false, description: 'Accurate mathematics mode: compiler options are chosen to keep calculations as accurate as possible.')
+option('generic', type : 'boolean', value: false, description: 'Turns off CPU-specific optimization so that the executable can be used on different platforms. Useful for condor/slurm clusters.')
+option('libname', type : 'string', value: 'binary_c', description: 'The binary_c shared-library name, usually "binary_c" to give a file libbinary_c.so (on Linux).')
+option('usepch', type : 'boolean', value: true, description: 'Use pre-compiled headers. Binary_c usually precompiled headers which are used for many object-file builds to considerably speed up compilation. You may wish to disable this if it causes you, or your compiler, problems.' )
+option('clean_data_objects', type : 'boolean', value : false, description: 'If true, data objects - which are pre-compiled object files that persist between builds, are purged before the build.')
-- 
GitLab