By default, GNU Global does not treat .h files as source files. If you are using a C++ project, this is most likely the behavior you want. To treat .h files as source files, set the environment variable GTAGSFORCECPP. Run the following command or put it in your shell. Note, the example below is meant for Bash users.
export GTAGSFORCECPP=""
1 comment:
Thanks a lot for the solution!
Post a Comment