cmake.vim : Incorporates CMake support to Vim.
script karma |
Rating 6/9,
Downloaded by 2835 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jacky Alciné |
|
script type |
utility |
|
description |
cmake.vim 0.4.1 is a Vim plugin that allows you to use CMake within Vim for your projects. This is alpha-grade software and may turn your CMake project into a cat-overrun Telnet session.
If lost, run :help cmake for a bit of guidance.
# Requirements
At the time of writing, cmake.vim has been tested with Vim 7.3+ in nocp mode and CMake 2.8.
# Getting Started
After you installed the plugin, just cd into the directory where the top-level CMakeLists.txt can be found and run:
" Create a new binary directory for your clean project.
:CMakeCreateProject <build-dir-name>
" Build all of the targets.
:CMakeBuild
With that, you created (or re-configured in a vanilla-setup) a new binary directory and built the project.
# Commands
cmake.vim defines a few methods for generic interaction with CMake. Check out :help cmake-methods for more information.
# Options
In order for CMake to operate, it has to know where the build directory is located. This is done automatically by the plugin but it does need help in the event that you happen to build your CMake project in a sub-directory. Check out :help cmake-options for more information.
# Integrations
See :help cmake-integrations for tips on integrations cmake.vim with other plug-ins like Syntastic or YouCompleteMe. Long story short, it's freaking awesome but could use some work. With this version, the integrations are now target-specific, allowing for fine-grained integration for every single file. |
|
install details |
# Installing
I recommending using Vundle to install plugins. The line necessary to add this plugin is as follows:
Bundle 'jalcine/cmake.vim` |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.175
|