Re: semantic-symref and global
Zhongwei Yao <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <CAJnfWeGZpN59XyvF7NUEuzhFwp7C8AV6U2NpsLGA371kaU1BkQ@mail.gmail.com> |
Hi, Eric, After GPATH is set to my project root, it works:) Thanks! On Fri, Dec 5, 2014 at 9:51 AM, Eric Ludlam <[email protected]> wrote: > On 12/01/2014 11:13 PM, Ashi wrote: > >> Hi, there, >> >> Semantic manual says >> >> Variable: semantic-symref-tool >> The value of this variable is a symbol that determines the external >> symbol reference tool to use. >> >> But I can't find this variable by running M-x describe-variable. And >> when I run semantic-symref-symbol on my project, it is very slow and >> emacs is blocked when "gather symref". >> >> What I want to do is letting semantic gather symbol reference by GNU >> global. What can do to achieve this? >> >> My emacs version is 24.4.1 running on Linux. >> > > Hi, > > You need to set 2 things up ahead of time. > > First, you need to have an EDE project set up. This can be easy using > either cpp-root, or you can use ede-enable-generic-projects to detect > projects based on a VC system, use of Makefiles, etc. > > Once you have a project root, run GNU Global from there to generate the > GTAGS and other files. > > The symref tool will run Global to detect the existence of those files > normally, but needs to find GPATH at the project root to know to do so. > > Good Luck > Eric > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Cedet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cedet-devel