|
|
By default, cscope builds a symbol cross-reference table for all the C, lex, and yacc source files in the current directory, and for any included header files in the current directory or the standard place. If all the source files for the program to be browsed are in the current directory, and if its header files are there or in the standard place, invoke cscope without arguments:
$ cscopeTo browse through selected source files, invoke cscope with the names of those files as arguments:
$ cscope file1.c file2.c file3.hFor other ways to invoke cscope, see ``Command line options''.
cscope builds the symbol cross-reference table the first
time it is used on the source files for the program to be browsed.
By default, the table is stored
in the file cscope.out in the current directory.
On a subsequent invocation, cscope rebuilds the cross-reference
only if a source file has been modified or the list of source files is
different.
When the cross-reference is rebuilt, the data for the unchanged
files are copied from the old cross-reference,
which makes rebuilding faster than the initial build
and startup time less for subsequent
invocations.