aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-22 16:01:50 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-09-22 16:01:50 -0700
commit84d5233b5fa93c35b8578aeee08a7b40860a3225 (patch)
treeca32f9e9b1ca03779e0afc9bfe10eeef2f1235f0 /data
parent250c4463b4575f0bd77ea60a67e495c1e2c968fd (diff)
downloadmeson-84d5233b5fa93c35b8578aeee08a7b40860a3225.zip
meson-84d5233b5fa93c35b8578aeee08a7b40860a3225.tar.gz
meson-84d5233b5fa93c35b8578aeee08a7b40860a3225.tar.bz2
zsh: Add missing options for meson setup
Diffstat (limited to 'data')
-rw-r--r--data/shell-completions/zsh/_meson38
1 files changed, 26 insertions, 12 deletions
diff --git a/data/shell-completions/zsh/_meson b/data/shell-completions/zsh/_meson
index 10cfd4d..e64e0ed 100644
--- a/data/shell-completions/zsh/_meson
+++ b/data/shell-completions/zsh/_meson
@@ -90,31 +90,45 @@ local -a meson_commands=(
_arguments \
'*-D-[set the value of a build option]:build option:__meson_build_options' \
'--prefix=[installation prefix]: :_directories' \
- '--libdir=[library directory]: :_directories' \
- '--libexecdir=[library executable directory]: :_directories' \
'--bindir=[executable directory]: :_directories' \
- '--sbindir=[system executable directory]: :_directories' \
- '--includedir=[header file directory]: :_directories' \
'--datadir=[data file directory]: :_directories' \
- '--mandir=[manual page directory]: :_directories' \
+ '--includedir=[header file directory]: :_directories' \
'--infodir=[info page directory]: :_directories' \
+ '--libdir=[library directory]: :_directories' \
+ '--libexecdir=[library executable directory]: :_directories' \
'--localedir=[locale data directory]: :_directories' \
- '--sysconfdir=[system configuration directory]: :_directories' \
'--localstatedir=[local state data directory]: :_directories' \
+ '--mandir=[manual page directory]: :_directories' \
+ '--sbindir=[system executable directory]: :_directories' \
'--sharedstatedir=[arch-independent data directory]: :_directories' \
+ '--sysconfdir=[system configuration directory]: :_directories' \
+ '--auto-features=[default value for auto features]:auto features types:(auto disabled enabled)' \
'--backend=[backend to use]:Meson backend:'"$__meson_backends" \
'--buildtype=[build type to use]:Meson build type:'"$__meson_build_types" \
+ '--debug=[turn on building with debug]' \
+ '--default-library=[default library type]:default library type:(shared static both)' \
+ '--errorlogs=[prints the logs from failing tests]' \
+ '--install-umask=[default umask for permissions of all installed files]' \
+ '--layout=[build directory layout]:build directory layout:(flat mirror)' \
+ '--optimization=[optimization level for compiled targets]:optimization:(0 g 1 2 3 s)' \
+ '--stdsplit=[split stdout and stderr in test logs]' \
'--strip[strip targets on install]' \
'--unity=[unity builds on/off]:whether to do unity builds:(on off subprojects)' \
- '--werror[treat warnings as errors]' \
- '--layout=[build directory layout]:build directory layout:(flat mirror)' \
- '--default-library=[default library type]:default library type:(shared static)' \
'--warnlevel=[compiler warning level]:compiler warning level:warning level:(1 2 3)' \
- '--stdsplit=[split stdout and stderr in test logs]' \
- '--errorlogs=[prints the logs from failing tests]' \
+ '--werror[treat warnings as errors]' \
+ '--wrap-mode=[special wrap mode]:wrap mode:'"$__meson_wrap_modes" \
+ '--force-fallback-for=[force fallback for listed subprojects]' \
+ '--pkg-config-path=[extra paths for HOST pkg-config to search]:paths:_files -/' \
+ '--build.pkg-config-path=[extra paths for BUILD pkg-config to search]:paths:_files -/' \
+ '--cmake-prefix-path=[extra prefixes for HOST cmake to search]:paths:_files -/' \
+ '--build.cmake-prefix-path=[extra prefix for BUILD cmake to search]:paths:_files -/' \
'--cross-file=[cross-compilation environment description]:cross file:_files' \
'--native-file=[build machine compilation environment description]:native file:_files' \
- '--wrap-mode=[special wrap mode]:wrap mode:'"$__meson_wrap_modes" \
+ '--clearcache[clear cached state]' \
+ '--fatal-meson-warnings=[exit when any meson warnings are encountered]' \
+ '(-v --version)'{'-v','--version'}'[print the meson version and exit]' \
+ '--reconfigure=[re-run build configuration]' \
+ '--wipe=[delete saved state and restart using saved command line options]' \
":$firstd directory:_directories" \
"::$secondd directory:_directories" \
#