c++ - Generate reverse dependencies of a source file? -
we can use $cxx -mm <file>
build dependency rule. example:
$ $cxx -mm hex.cpp hex.o: hex.cpp pch.h config.h hex.h basecode.h filters.h simple.h \ cryptlib.h stdcpp.h misc.h smartptr.h trap.h secblock.h queue.h \ algparam.h argnames.h
i'm interested in getting reverse dependencies of hex.cpp
documentation purposes. is, want list of source files utilize hex.h
.
is there way reverse dependencies? if so, how?
Comments
Post a Comment