all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.