unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using ggtags with external source tree
@ 2013-08-28  9:32 Glen Stark
  2013-08-29  1:27 ` cavd
  0 siblings, 1 reply; 3+ messages in thread
From: Glen Stark @ 2013-08-28  9:32 UTC (permalink / raw)
  To: help-gnu-emacs

Hi everyone

I don't know if this is better solved using gnu-global or ggtags, but I 
couldn't figure out how to do it either way, so I'm asking for help.

I have two source trees with C++ code in.  One contains external 
dependencies, another contains our code.  For the sake of discussion, 
lets say I want to be able to follow tags into the boost source tree.


So I have:

/usr/local/boost

and 

/home/me/my_project

I can't figure out how to use ggtags to navigate to code in /usr/local/
boost.  Can anyone help me out?

Thanks,

Glen



-- 
Human Being



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using ggtags with external source tree
  2013-08-28  9:32 Using ggtags with external source tree Glen Stark
@ 2013-08-29  1:27 ` cavd
  2013-08-30  2:58   ` Leo Liu
  0 siblings, 1 reply; 3+ messages in thread
From: cavd @ 2013-08-29  1:27 UTC (permalink / raw)
  To: Glen Stark; +Cc: help-gnu-emacs@gnu.org

On Aug 28, 2013, at 9:32, Glen Stark <mail@glenstark.net> wrote:

> Hi everyone
> 
> I don't know if this is better solved using gnu-global or ggtags, but I 
> couldn't figure out how to do it either way, so I'm asking for help.
> 
> I have two source trees with C++ code in.  One contains external 
> dependencies, another contains our code.  For the sake of discussion, 
> lets say I want to be able to follow tags into the boost source tree.
> 
> 
> So I have:
> 
> /usr/local/boost
> 
> and 
> 
> /home/me/my_project
> 
> I can't figure out how to use ggtags to navigate to code in /usr/local/
> boost.  Can anyone help me out?
> 
> Thanks,
> 
> Glen
> 

See GTAGSLIBPATH at
http://www.gnu.org/software/global/globaldoc.html#SEC53

hth,
Chris. 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using ggtags with external source tree
  2013-08-29  1:27 ` cavd
@ 2013-08-30  2:58   ` Leo Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Liu @ 2013-08-30  2:58 UTC (permalink / raw)
  To: cavd; +Cc: help-gnu-emacs@gnu.org, Glen Stark

On 2013-08-29 09:27 +0800, cavd wrote:
> See GTAGSLIBPATH at
> http://www.gnu.org/software/global/globaldoc.html#SEC53

This is what I use in my .bashrc for Java:

  export GTAGSLIBPATH=/usr/local/unix/java/1.6/classes

and run `gtags' in that directory /usr/local/unix/java/1.6/classes.

Let me know if you run into any problems with the emacs interface
ggtags.el.

Leo



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-30  2:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-28  9:32 Using ggtags with external source tree Glen Stark
2013-08-29  1:27 ` cavd
2013-08-30  2:58   ` Leo Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).