Re: Specifying out-of-tree include paths

"Shigio YAMAGUCHI" <[email protected]> Wed, 18 Mar 2009 13:28:30 +0900
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hello,
> 1) How do I specify out-of-tree include paths in the case of a C++ project?=
>   Ie, I have files included like
> 
> #include "file.h"
> 
> which are not reachable recursively from the directory where the project so=
> urces are kept (which is where I run gtags).

You can use GTAGSLIBPATH environment variable for the purpose.
Please see the online manual (man global(1) or info global) for the detail.
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3