Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 796 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 796 Bytes

vim-call-cmake

Create out of source build dir, call cmake and set makeprg variable

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone https://github.com/vivkin/vim-call-cmake.git

(Thanks Tim Pope for pathogen.vim and this copy-pasted part of README)

Usage

Set current directory which contains root CMakeLists.txt and run :CMake with any number of arguments. Variable g:cmake_build_dir holds name of the build directory (build/ by default). Also avaliable shortcuts for debug :CMakeDebug and release :CMakeRelease builds.

License

As Vim itself. See :help license.