aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cmake
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2016-02-25 19:15:11 -0800
committerDave Lee <kastiglione@fb.com>2016-02-25 19:18:30 -0800
commit82280cdd242970e51630f1246f63a830524c4818 (patch)
tree437a85c0903b38ea48de86c9f71678251237871e /src/_cmake
parentMerge pull request #390 from mitukiii/license (diff)
downloadzsh-completions-82280cdd242970e51630f1246f63a830524c4818.tar
zsh-completions-82280cdd242970e51630f1246f63a830524c4818.tar.gz
zsh-completions-82280cdd242970e51630f1246f63a830524c4818.tar.bz2
zsh-completions-82280cdd242970e51630f1246f63a830524c4818.tar.lz
zsh-completions-82280cdd242970e51630f1246f63a830524c4818.tar.xz
zsh-completions-82280cdd242970e51630f1246f63a830524c4818.tar.zst
zsh-completions-82280cdd242970e51630f1246f63a830524c4818.zip
Complete cmake property CMAKE_EXPORT_COMPILE_COMMANDS
Diffstat (limited to 'src/_cmake')
-rw-r--r--src/_cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cmake b/src/_cmake
index 544137b..358cb2a 100644
--- a/src/_cmake
+++ b/src/_cmake
@@ -181,6 +181,7 @@ _cmake_define_common_property_names() {
'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'
+ 'CMAKE_EXPORT_COMPILE_COMMANDS:Enable/disable output of compilation database during generation'
)
_describe -t 'common-property-names' 'common property name' properties $@
@@ -198,6 +199,7 @@ _cmake_define_property_values() {
(CMAKE_TOOLCHAIN_FILE) _wanted toolchain-files expl 'file' _cmake_toolchain_files && ret=0;;
(CMAKE_COLOR_MAKEFILE) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;;
(CMAKE_INSTALL_PREFIX) _files -/ && ret=0;;
+ (CMAKE_EXPORT_COMPILE_COMMANDS) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;;
(CMAKE_*_COMPILER) _wanted compilers expl 'compiler' _cmake_compilers && ret=0;;
(CMAKE_*_FLAGS(|_?*)) _message -e compiler-flags 'compiler flags' && ret=0;;
(*) _files && ret=0;;