On Wednesday, July 14, 2004 3:59 pm, Bob Friesenhahn wrote: > Probably gtags is not implemented very well.
Sounds like it. > It seems like there should be a rule to collect the source file list > from all Makefiles (including subordinate Makefiles) followed-up by > another rule which actually executes cscope using the file list. That's where I got stuck. If there were such a rule, it would be easy to dump the filelist into cscope.files in the top level of the build directory and pass that as an argument to cscope. > If the build is a VPATH build, then the source directory tree should > be treated as read-only, with the cscope database being built in the > build directory. This allows multiple architectures to use cscope > without trashing each other's databases (the cscope database format > appears to be architecture dependent). Yep, I forgot about that... > Indexing everything under the source tree doesn't make sense since the > software may not be related, or there may replicated source files. True. Jesse