Compare commits

...

2 Commits

Author SHA1 Message Date
Shohei YOSHIDA adad765241
Merge pull request #1254 from zsh-users/update_cmake
Update cmake completion to version 4.3.0
2026-03-31 09:59:52 +09:00
Shohei YOSHIDA 44be5b104f
Update cmake completion to version 4.3.0
add new flags
2026-03-31 09:54:02 +09:00
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for CMake 3.31.0 (https://cmake.org). # Completion script for CMake 4.3.0 (https://cmake.org).
# #
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Authors # Authors
@ -62,6 +62,7 @@ local -a cmake_build_options=(
'-A[Specify platform name if supported by generator]:platform name' '-A[Specify platform name if supported by generator]:platform name'
'--toolchain[Specify toolchain file]: :_files' '--toolchain[Specify toolchain file]: :_files'
'--install-prefix[Specify install directory]: :_path_files -/' '--install-prefix[Specify install directory]: :_path_files -/'
'--project-file[Specify an alternate project file name]:name'
# Warnings # Warnings
'(-Wdev)-Wno-dev[Suppress/Enable developer warnings]' '(-Wdev)-Wno-dev[Suppress/Enable developer warnings]'
@ -115,6 +116,7 @@ local -a cmake_build_options=(
'--warn-unused-vars[Warn about unused variables]' '--warn-unused-vars[Warn about unused variables]'
'--check-system-vars[Find problems with variable usage in system files]' '--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]' '--compile-no-warning-as-error[Ignore COMPILE_WARNING_AS_ERROR property and CMAKE_COMPILE_WARNING_AS_ERROR variable]'
'--link-no-warning-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-format[Output data for profiling CMake scripts]:profiling format:(google-trace)'
'--profiling-output[Select an output path for the profiling data]:filename:_files' '--profiling-output[Select an output path for the profiling data]:filename:_files'