automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add cscope tags target


From: Jesse Barnes
Subject: Re: [PATCH] add cscope tags target
Date: Wed, 14 Jul 2004 16:13:55 -0400
User-agent: KMail/1.6.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]