making a graphical representation of include files in project.
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
making a graphical representation of include files in project.
hello,
I'm wondering wether there is a program/tool which can generate a graphical representation of all the include files in a c/c++ project. Thus a top down tree diagram. Anyone know of any such program/tool?
refining my searches on google through a lead by makyo, i have come across the program calltree, http://linux.softpedia.com/progDownl...nload-971.html, which also refers to the cflow command. Doing a "info cflow" in shell i find the info papers on the command but the binary is not installed on my system. searched my package manager for it and google but cannot find the tars or a package that provides it. Anybody know what software package would provide cflow?
The tree thing sort of works if you invoke it with the correct arguments - listing files which match the pattern "*.h" or whatever. However, I cannot find a way to suppress the printing of directories which do not contain any headers.
If all you want is a list, find is the best tool. I was hoping that tree would accept a list of files to list on stdin or as command line arguments, but alas it does not.
Description: Analyze control flow in C source files
GNU cflow analyzes a collection of C source files and prints a graph, charting
control flow within the program.
.
Homepage: http://www.gnu.org/software/cflow/
Tag: devel::lang:c, interface::commandline, role:rogram, scope::utility, suite::gnu, use::browsing, works-with::software:source
-- excerpt from GNU/Debian lenny apt-cache show cflow
The page at gnu.org exists, but I stopped there because cflow is in my repository.
It was also the top hit with Google ... cheers, makyo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.