summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorScott D Phillips <scott.d.phillips@intel.com>2018-02-07 16:55:24 -0800
committerScott D Phillips <scott.d.phillips@intel.com>2018-02-08 11:24:42 -0800
commit1f4d2433e73a0a6d4e2a180de407970d983309db (patch)
treeee69bacbb0af123566f2d2c4320127626cd5cca9 /meson_options.txt
parent464d057c86ab36db81590aa940902ff7e29894da (diff)
meson: Add build option for tools
Add a build option to control building some of the misc tools we have. Also set the executables to install, presumably you want that if you're asking for the build. v2: set 'install:' to the with_tools value, not true (Jordan) handle 'all' in a the comma list (Dylan) Add freedreno's tools (Dylan) Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index fca06c4e61d..7fafe2deaac 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -280,3 +280,9 @@ option(
value : 'avx,avx2',
description : 'Comma delemited swr architectures. choices : avx,avx2,knl,skx'
)
+option(
+ 'tools',
+ type : 'string',
+ value : '',
+ description : 'Comma delimited list of tools to build. choices : freedreno,glsl,intel,nir,nouveau or all'
+)