Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View the "include" tree in a C/C++ project [duplicate]

Tags:

c++

c

include

tree

Possible Duplicate:
Do you know tool building tree of include files in project\file?

Currently reading the Minix source code (I'm interested in operating system & driver programming), I am looking for a program that would help me understand the tree view of this project.

I found a piece of software called Include Finder, which, though it doesn't show dependencies in trees, is helpful for understanding the structure.

Does anybody know a good program to scan a project & view the dependency tree ?

Thanks !

like image 390
Takhiarel Avatar asked Oct 10 '22 12:10

Takhiarel


2 Answers

Try Eclipse CDT. It has Include Browser.

like image 162
ks1322 Avatar answered Oct 13 '22 01:10

ks1322


Try Doxygen with Graphviz installed. If doxygen is configured properly, it will return each included file for each source.

like image 42
Mihai Maruseac Avatar answered Oct 13 '22 02:10

Mihai Maruseac