Skip to content

Instantly share code, notes, and snippets.

@farrokhi
Created May 30, 2018 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save farrokhi/c4600a490827eaef3bb53520b1909fa7 to your computer and use it in GitHub Desktop.
Save farrokhi/c4600a490827eaef3bb53520b1909fa7 to your computer and use it in GitHub Desktop.
Setting up cscope for a (large) C project

build/update database:

cd $PROJ_DIR
find . -path .git -path .svn -prune -o -name "*.[ch]" > cscope.files
cscope -bqk

browse code:

cscope -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment