[Scons-users] ctag generation with scons
michael at potter.name
Mon Dec 21 17:59:13 EST 2015
I read over the URL.
Maybe I missed it, but it seems that it is describing how to make a new
That really does not fit how ctags works.
The ctag file contains all the tags from many .c files. If a subset of
those .c file changes, then I want the ctag file updated for only the
Unless I am missing something, this is different than the builders.
I would need something like this
That is, after scons is done with its normal processing, a final command
runs that gets the list of what changed:
1) Both since last scons, and
2) changed during scons.
This would be somewhat fragile, but that is okay, I would build ctags by
hand periodically. I am also looking at using inotify, which might be a
better way to go anyway. Then the file is update on change and I don't
have to wait for an scons.
On Mon, Dec 21, 2015 at 4:51 PM, William Blevins <wblevins001 at gmail.com>
> This should be what you are looking for:
> Give this a read first and let us know if you need more information.
> On Mon, Dec 21, 2015 at 9:19 PM, Michael Potter <pottmi at gmail.com> wrote:
>> What is the best way to generate ctags with scons?
>> I am thinking that there should be a way for scons to know what files
>> changed and only run ctags on the changed files.
>> By changed files I mean a) any file that was changed by hand before scons
>> ran and b) any file that was generated while scons ran.
>> b is important to me because I have .c code that is generated.
>> It would be nice if it took into account deleted files too; even if it
>> just warned me about deleted files.
>> Scons-users mailing list
>> Scons-users at scons.org
> Scons-users mailing list
> Scons-users at scons.org
Tapp Solutions, LLC
+1 770 815 6142 ** Atlanta ** michael at potter.name **
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users