diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-07-16 00:22:57 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-07-16 00:22:57 +0200 |
commit | 934c2f85fa9c3b679d5c91bf8fc09272a2bec537 (patch) | |
tree | 1c94909ba7ff43e9613549fdd20297f91a778085 /rebuild-ycm | |
parent | 2ff97fcfcefb6ef96a2bc1a45fb85648430e2b5c (diff) | |
download | bin-934c2f85fa9c3b679d5c91bf8fc09272a2bec537.tar.gz bin-934c2f85fa9c3b679d5c91bf8fc09272a2bec537.tar.xz |
add rebuild-ycm
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'rebuild-ycm')
-rwxr-xr-x | rebuild-ycm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rebuild-ycm b/rebuild-ycm new file mode 100755 index 0000000..272a146 --- /dev/null +++ b/rebuild-ycm @@ -0,0 +1,8 @@ +#!/bin/bash + +TEMPDIR=$(mktemp -d) +trap "rm -rf '${TMPDIR}'" EXIT TERM + +cd $TMPDIR +cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON . ~/.vim/bundle/YouCompleteMe/cpp +make -j12 ycm_core |