Guest User

Untitled

a guest
Oct 21st, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/usr/bin/bash
  2.  
  3. BIN_PATH=`dirname $0` # Usually a relative path to => //depot/Tools/Vim
  4.  
  5. find . -ipath '*boost*' -prune -o -type f -iregex '.*\.\(h\|hpp\|c\|cpp\|fx\)' | sed -e '/.*boost/ d' > files.txt
  6. rm -f cscope.in.out cscope.out cscope.po.out tags
  7. "$BIN_PATH/ctags" -R -h ".h.hpp.c.cpp.moc.fx" --c++-kinds=+p --fields=+iaS --extra=+q -L files.txt
  8. "$BIN_PATH/cscope" -bqR -i files.txt
Add Comment
Please, Sign In to add comment