[CMake] text mode file-level dependency viewer?

Gordon Anderson justgord at gmail.com
Tue Nov 18 01:01:04 EST 2008


The graphiviz option is nice for higher level deps.

Is there a command line tool that can do show dependencies to or from
a given source file ?

I'm using ad-hoc perl scripts and grep to search the
CMakeFiles/<Proj>.dir/depend.make file ... but has someone done this
already?

very useful.

gord.

ps. thanks for cmake... replaced an awful set of hand coded scripts
with a very simple cmake approach, now I can do quick partial builds,
hooray.


More information about the CMake mailing list