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 <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global

Reply via email to