BTW has two main purposes:
- To simplify the on-the-fly tuning of
'compiler'
settings. - To offer a simplified interface to build, execute, test our programs.
It is also able to interface with projects under CMake.
And, it provides an airline extension that displays the current project name and compilation mode. This information will also be displayed for the quickfix window.
- Requirements: Vim 7.+, lh-vim-lib (v4.0.0)
- With vim-addon-manager, install build-tools-wrapper (this is the preferred method because of the dependencies)
ActivateAddons build-tools-wrapper
- or with vim-flavor which also supports dependencies:
flavor 'LucHermitte/vim-build-tools-wrapper'
- or you can clone the git repositories (expecting I haven't forgotten anything):
git clone git@github.com:LucHermitte/lh-vim-lib.git
git clone git@github.com:LucHermitte/vim-build-tools-wrapper.git
- or with Vundle/NeoBundle (expecting I haven't forgotten anything):
Bundle 'LucHermitte/lh-vim-lib'
Bundle 'LucHermitte/vim-build-tools-wrapper'
You will most certainly require a project management plugin. I can offer you local_vimrc, there are plenty alternatives (with similar names), or even the good old project.vim plugin.
- See the two
_local_vimrc*.vim
files from my Rasende Roboter solver. - See the two same files from my configuration for working with openjpeg (link to be added).
There are a few alternative plugins that I'm aware of:
- Tim Pope's vim-dispatch regarding the encapsulation of
:make
- Marc Weber's name-forgotten plugin to run things in background
- Jacky Alciné's CMake.vim plugin