Setup GNU Global source code tagging
This article is written based on the GNU Global tutorial. Follow the below steps in the root directory of the project source code.
Install required tools
apt install global cflow
#Cflow is optionally need to generate call-treeGenerate
Gtags
gtags --explain --skip-symlink --statistics
Generate
Htags
See the man page for command line usage. Here we will discuss the usage of the HTML version.
Running
htags
will generate the static HTML pages in theHTML
folder in the current path. Open the web browser with HTML file as an argument and explore the source code.firefox HTML/index.html
Alternatively to the step 5, run Htags-server and connect through the http://localhost:8000
Last updated