A tool to tell you what source files are needed in a C++ project? [closed] A tool to tell you what source files are needed in a C++ project? [closed] xcode xcode

A tool to tell you what source files are needed in a C++ project? [closed]


You could run doxygen on your project and have it generate inheritance diagrams for your classes. It can also generate caller graphs to help you find dead code.


You can try searching this static code analyzer list in Wikipedia. The ones that I've seen in actions would be cppdep and Include Hierarchy Viewer, although the first one is a little rough and the latter is a Windows analyzer only for the include tree. Also that still might not give you all the info if the dependencies are not explicit.

Edit: Also, the following StackOverflow search query seems to have results that might interest you:https://stackoverflow.com/search?q=c%2B%2B+dependency