[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] generating tag files for sources
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2009-09-30 12:20:27
Message-ID: 200909301620.27526.ghost () cs ! msu ! su
[Download RAW message or body]

On Monday 28 September 2009 Pascal Z. wrote:

> Has there been any work done about automatically generating tag files 
> for sources via ctags/cscope or similar tools ?
> This can be very useful for intellisense functionality e.g. as provided 
> by vim's omnicompletion or emacs.
> I tried to set up a Jamfile so that using "bjam tags" will generate tags 
> for all used source files, but I didn't manage it. I'm not that familiar 
> with boost.Build. How could such a jam rule look?

Hi Pascal,

I would recommend this:

	make TAGS : : @make-tags : <location>. ;
	actions make-tags 
	{
		ctags `find . -name *.c -or -name *.h`
	}

It was awhile since I've last used ctags, so the command
might be wrong.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic