The tool cpp-dependencies creates
#include ".*" dependency information for C++ source code files, which it derives from scanning a full source tree.
The dependency information is output as .dot files, which can be visualized in, for example, GraphViz.
Instructions on how to use this tool can be used on the page of the authors here