Skip to content

Commit

Permalink
Added information about supported CMake versions (#191)
Browse files Browse the repository at this point in the history
* Added information about supported CMake versions

* Update cmake4vim.txt
  • Loading branch information
ilyachur committed Sep 20, 2023
1 parent 7aefd41 commit 5856679
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ I created this plugin in order to improve integration CMake to the Vim editor. I
* Visual Studio
* Ninja
* The plugin shows cmake results using quickfix list. If you have installed **[vim-dispatch](https://github.com/tpope/vim-dispatch)** plugin, plugin will use it, this means that if you are using vim with tmux, cmake output will be printed in a separate window. In other case plugin will use `jobs` to async run if your Vim editor supports it.
* The plugin allows to specify cmake targets in order to avoid building of all project.
* The plugin shows cmake results using quickfix list. If you have installed **[vim-dispatch](https://github.com/tpope/vim-dispatch)** plugin, plugin will use it, this means that if you are using vim with tmux, cmake output will be printed in a separate window. In other case plugin will use `jobs` to async run if your Vim editor supports it. * The plugin allows to specify cmake targets in order to avoid building of all project.
* The plugin has an integration with next fuzzy finder plugins:
* **[CtrlP](https://github.com/ctrlpvim/ctrlp.vim)**
* **[FZF](https://github.com/junegunn/fzf.vim)**
Expand Down Expand Up @@ -283,6 +283,12 @@ command! -nargs=1 -complete=custom,cmake4vim#CompleteKit CMakeSelectKit call
command! FZFCMakeSelectKit call s:FZFSelectKit()
```

## Supported CMake version

The plugin supports all CMake versions since 2.8.
Since the CMake 3.14 version the plugin uses file API, this feature helps to have more information about CMake project and implement a smart
detection of executable files for `:CMakeRun` command.

## References

### Author
Expand Down
6 changes: 6 additions & 0 deletions doc/cmake4vim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ At the current moment plugins supports next CMake generators:
* Visual Studio
* Ninja

The plugin supports all CMake versions since 2.8.

Since the CMake 3.14 version the plugin uses file API, this feature helps to have
more information about CMake project and implement a smart detection of
executable files for `:CMakeRun` command.

COMMANDS *cmake-commands*

:CMake[{Args}] *:CMake*
Expand Down

0 comments on commit 5856679

Please sign in to comment.