diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2023-11-14 09:30:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 09:30:16 +0900 |
| commit | 9e341f6a202e83e2dc0a587f4970fa375de84d4e (patch) | |
| tree | 59b10533d356430228266b7d419e5c96ba8026a5 /src | |
| parent | Merge pull request #1055 from zsh-users/update-node (diff) | |
| parent | Add -DBUILD_SHARED_LIBS completion for cmake completions (diff) | |
| download | zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.tar zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.tar.gz zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.tar.bz2 zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.tar.lz zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.tar.xz zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.tar.zst zsh-completions-9e341f6a202e83e2dc0a587f4970fa375de84d4e.zip | |
Merge pull request #1057 from jeremy-rifkin/patch-1
Add -DBUILD_SHARED_LIBS completion for cmake completions
Diffstat (limited to 'src')
| -rw-r--r-- | src/_cmake | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -424,6 +424,7 @@ _cmake_define_common_property_names() { 'CMAKE_MODULE_PATH:Search path for CMake modules (FindPROJECT.cmake)' 'CMAKE_PREFIX_PATH:Search path for installations (PROJECTConfig.cmake)' 'CMAKE_BUILD_TYPE:Specifies the build type for make based generators' + 'BUILD_SHARED_LIBS:Global flag to cause add_library() to create shared libraries if on' 'CMAKE_TOOLCHAIN_FILE:Absolute or relative path to a CMake script which sets up toolchain related variables' 'CMAKE_COLOR_MAKEFILE:Enables/disables color output when using the Makefile generator' 'CMAKE_INSTALL_PREFIX:Install directory used by install' @@ -449,6 +450,7 @@ _cmake_define_property_values() { setopt localoptions extendedglob case $@[-1] in (CMAKE_BUILD_TYPE) _wanted build-types expl 'build type' _values 'build type' ${_cmake_build_types[@]} && ret=0;; + (BUILD_SHARED_LIBS) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;; (CMAKE_CXX_STANDARD) _wanted cxx-standards expl 'cxx standard' _values 'cxx standard' ${_cmake_cxx_standards[@]} && ret=0;; (CMAKE_C_STANDARD) _wanted c-standards expl 'c standard' _values 'c standard' ${_cmake_c_standards[@]} && ret=0;; (CMAKE_TOOLCHAIN_FILE) _wanted toolchain-files expl 'file' _cmake_toolchain_files && ret=0;; |
