From ae63b5ae41a86f76b8bb1eaa89ebfd8e54d4be8d Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Wed, 10 Aug 2022 16:14:00 +0900 Subject: [PATCH] Update cmake options for version 3.24 --- src/_cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_cmake b/src/_cmake index d1ccdc7..c5b1120 100644 --- a/src/_cmake +++ b/src/_cmake @@ -79,6 +79,7 @@ local cmake_build_options;cmake_build_options=( '-E[CMake command mode]:command:_cmake_command_help' '-L-[List cache variables]::_values "options" "[non-advanced cache variables]" "A[advanced cache variables]" "H[non-advanced cached variables with help]" "AH[advanced cache variables with help]"' + '--fresh[Configure a fresh build tree, removing any existing cache file]' '--build[Build a CMake-generated project binary tree]:project directory:_path_files -/' '--install[Install a CMake-generated project binary tree]:project directory:_path_files -/' @@ -109,6 +110,7 @@ local cmake_build_options;cmake_build_options=( '--no-warn-unused-cli[Do not warn about command line 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]' '--profiling-format[Output data for profiling CMake scripts]:profiling format:(google-trace)' '--profiling-output[Select an output path for the profiling data]:filename:_files'