Script for analyzing include dependencies.
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 13 Oct 2012 19:10:04 +0000 (22:10 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Tue, 16 Oct 2012 04:15:59 +0000 (07:15 +0300)
commit06069731828cf22c13e3bf04fa676a8843b6f837
tree7aa400f0b4167aa4fe5327dacad976d6653a7688
parent5eb1a00cfe8ef39c03fc631eb7d6d27ebb9d4175
Script for analyzing include dependencies.

Add a Python script plus some CMake code to run it that analyzes include
file dependencies.  The script can also generate different kinds of
include dependency graphs (this implementation dates from a time when
some versions of Doxygen didn't do this properly, and the script still
has some features that Doxygen doesn't have).  Some parts of the script
contain hard-coded stuff related to the Gromacs source tree layout or
the Doxygen guidelines, but the core dependency analysis should be quite
general.

There is a lot to improve in the script (in addition to missing
features, docstrings and comments are sparse, and some parts could be
better structured), but it is already usable.

Fix a few issues that produce multiple warnings from the script, and one
issue found by the script (in helpformat.h).

Related to #638 and #907.

Change-Id: I22a6d6c0818f21c828f1e7d6beb1fdada39273d2
admin/includedeps.cmake [new file with mode: 0644]
admin/includedeps.py [new file with mode: 0755]
doxygen/.gitignore
doxygen/CMakeLists.txt
src/config.h.cmakein
src/gromacs/onlinehelp/helpformat.h
src/gromacs/utility/gmx_header_config.h
src/gromacs/utility/gmx_header_config_gen.h.cmakein