This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jacky Alciné
committed
Dec 12, 2014
1 parent
78288e0
commit 4476a3a
Showing
19 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
function s:add_specific_buffer_commands() | ||
call cmake#commands#apply_buffer_commands() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
" Public Function: cmake#buffer#has_project | ||
" Checks if the current buffer follows the following criteria: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
function! cmake#cache#read_all() | ||
let l:vars_strings = readfile(cmake#util#binary_dir() . '/CMakeCache.txt') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
function! cmake#commands#build() | ||
call cmake#util#echo_msg('Building all targets...') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func s:get_tags() | ||
return &l:tags | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
" A lot of magic happening here; that magic behind interpolation. | ||
func! s:get_default_ext(class, type) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func! cmake#extension#dispatch#sync(command) | ||
execute 'Dispatch "' . a:command . '"<CR>' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
function! s:parse_target_depends(dependInfoCMakeFilePath, target) | ||
let l:bindir = cmake#targets#binary_dir(a:target) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
function! s:read_target_from_ninja(target) | ||
let l:bindir = cmake#util#binary_dir() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func! cmake#extension#syntastic#inject(args) | ||
let l:target = args['target'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func! cmake#extension#vim#sync(command) | ||
let l:output = system(a:command) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func! cmake#extension#vimux#sync(command) | ||
call VimuxRunCommand(a:command) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func! cmake#extension#ycm#inject(args) | ||
if !exists('g:ycm_extra_conf_vim_data') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
function cmake#makeprg#for_target(target) | ||
if !cmake#targets#exists(a:target) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
let s:failsafe_path="/usr/include,/usr/local/include,." | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
func! cmake#targets#build(target) | ||
return cmake#util#run_cmake("--build " . cmake#util#binary_dir() . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
" Documentation: Local documentation. | ||
" Documentation: In doc/cmake.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
" Author: Jacky Alciné <[email protected]> | ||
" License: MIT | ||
" Website: https://jalcine.github.io/cmake.vim | ||
" Version: 0.5.x | ||
" Version: 0.5.0 | ||
|
||
if exists('g:loaded_cmake') | ||
finish | ||
|