Mesa (master): meson: de-tabularize meson_options.txt

Dylan Baker dbaker at kemper.freedesktop.org
Mon Oct 9 20:57:56 UTC 2017


Module: Mesa
Branch: master
Commit: 86eb09a136c62748eafa2dc79e10dbd681797cbf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86eb09a136c62748eafa2dc79e10dbd681797cbf

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Oct  4 16:18:34 2017 -0700

meson: de-tabularize meson_options.txt

This ends up being unworkable as more options get added, and with
description wrapped onto a new line it doesn't improve readability
anyway.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 meson_options.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meson_options.txt b/meson_options.txt
index eccd5c10d5..6ca19db349 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -18,15 +18,15 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-option('platforms',      type : 'string',  value : 'x11,wayland',
+option('platforms', type : 'string', value : 'x11,wayland',
        description : 'comma separated list of window systems to support. wayland, x11, surfaceless, drm, etc.')
-option('vulkan-drivers', type : 'string',  value : 'intel,amd',
+option('vulkan-drivers', type : 'string', value : 'intel,amd',
        description : 'comma separated list of vulkan drivers to build.')
-option('shader-cache',    type : 'boolean', value : true,
+option('shader-cache', type : 'boolean', value : true,
        description : 'Build with on-disk shader cache support')
-option('vulkan-icd-dir', type : 'string',  value : '',
+option('vulkan-icd-dir', type : 'string', value : '',
        description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d')
-option('valgrind',       type : 'boolean', value : true,
+option('valgrind', type : 'boolean', value : true,
        description : 'Build with valgrind support if possible')
-option('build-tests',    type : 'boolean', value : false,
+option('build-tests', type : 'boolean', value : false,
        description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.')




More information about the mesa-commit mailing list