From 44be5b104fe3a37c3f0595c73369c103b92347c8 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Mon, 30 Mar 2026 14:05:19 +0900 Subject: [PATCH] Update cmake completion to version 4.3.0 add new flags --- src/_cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/_cmake b/src/_cmake index 68ec9c1..4284b17 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-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-output[Select an output path for the profiling data]:filename:_files'