[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add different folders to global database
From: |
Shigio YAMAGUCHI |
Subject: |
Re: add different folders to global database |
Date: |
Fri, 30 Dec 2011 07:15:28 +0900 |
Hello,
> how to add different folders in different paths in to global database.
> basically i am looking for "cscope -s" kind of option. is it possible ?
GLOBAL cannot treat other than projects.
Supposing $dir is the different folder
1. If you want to treat $dir as an external project,
you can use GTAGSLIBPATH.
$ cd $dir
$ gtags
$ export GTAGSLIBPATH=$dir
2. If you want to treat $dir as part of the current project,
you can use symbolic link.
$ ln -s $dir .
$ gtags
Note: please use the latest GLOBAL. Old global ignored symbolic links.
Shigio
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3