Skip to content

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

Notifications You must be signed in to change notification settings

vivkin/vim-call-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published