aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cmake
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2026-03-30 14:05:19 +0900
committerShohei YOSHIDA <syohex@gmail.com>2026-03-30 14:05:37 +0900
commit99c2bbbd5e9c04b76e93b03f67aec3a3c1152592 (patch)
tree01b24d172b537950e345fe18dcd3f0714b68ff95 /src/_cmake
parentMerge pull request #1244 from zsh-users/perl-package-managers (diff)
downloadzsh-completions-update_cmake.tar
zsh-completions-update_cmake.tar.gz
zsh-completions-update_cmake.tar.bz2
zsh-completions-update_cmake.tar.lz
zsh-completions-update_cmake.tar.xz
zsh-completions-update_cmake.tar.zst
zsh-completions-update_cmake.zip
Update cmake completion to version 4.3.0update_cmake
add new flags
Diffstat (limited to 'src/_cmake')
-rw-r--r--src/_cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/_cmake b/src/_cmake
index 68ec9c1..1f62563 100644
--- a/src/_cmake
+++ b/src/_cmake
@@ -28,7 +28,7 @@
# Description
# -----------
#
-# Completion script for CMake 3.31.0 (https://cmake.org).
+# Completion script for CMake 4.3.0 (https://cmake.org).
#
# -------------------------------------------------------------------------
# Authors
@@ -62,6 +62,7 @@ local -a cmake_build_options=(
'-A[Specify platform name if supported by generator]:platform name'
'--toolchain[Specify toolchain file]: :_files'
'--install-prefix[Specify install directory]: :_path_files -/'
+ '--project-file[Specify an alternate project file name]:name'
# Warnings
'(-Wdev)-Wno-dev[Suppress/Enable developer warnings]'
@@ -115,6 +116,7 @@ local -a cmake_build_options=(
'--warn-unused-vars[Warn about unused variables]'
'--check-system-vars[Find problems with variable usage in system files]'
'--compile-no-warning-as-error[Ignore COMPILE_WARNING_AS_ERROR property and CMAKE_COMPILE_WARNING_AS_ERROR variable]'
+ '--link-no-warnings-as-error[Ignore LINK_WARNING_AS_ERROR and CMAKE_LINK_WARNING_AS_ERROR]'
'--profiling-format[Output data for profiling CMake scripts]:profiling format:(google-trace)'
'--profiling-output[Select an output path for the profiling data]:filename:_files'