joachim-reichel.de

dependencies

Introduction

This script analyzes the file dependencies in C or C++ source code as generated by gcc's -H option. Alternatively, it processes depend.make files generated by cmake. The dependencies are described as a graph in the .dot file format. The script includes various filters to postprocess the output, e.g., removing all nodes not matching a given regular expression.

Screenshots

turing

Example: turing

The screenshot shows the file dependencies of the turing software. All files with absolute path names (include files of third-party libraries) have been omitted. The corresponding .dot file is here

Download

Manpage