[Scons-users] ctag generation with scons
bill at baddogconsulting.com
Mon Dec 21 18:07:28 EST 2015
Seems like all source files are the source for the ctag file?
It's been a while since I've used ctags, can you provide example command
On Mon, Dec 21, 2015 at 2:59 PM, Michael Potter <michael at potter.name> wrote:
> 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
> env.RunOnChanged('ctags -someoptions')
> 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
> Michael Potter
> Tapp Solutions, LLC
> +1 770 815 6142 ** Atlanta ** michael at potter.name **
> Scons-users mailing list
> Scons-users at scons.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users