Skip to content

Instantly share code, notes, and snippets.

@farrokhi
Created January 19, 2020 11:17
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/2d5ab9bba57ca8f41375890fe9416404 to your computer and use it in GitHub Desktop.
Save farrokhi/2d5ab9bba57ca8f41375890fe9416404 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