summaryrefslogtreecommitdiffstats
path: root/rebuild-ycm
blob: 272a146a00ae0c52662137a873820c54382b5f5f (plain)
1
2
3
4
5
6
7
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