On Thu, Feb 05, 2009 at 04:04:58PM -0800, Peter Kasting wrote: > On Thu, Feb 5, 2009 at 4:02 PM, Erik Kay <erik...@chromium.org> wrote: > > > $ scons_deps -v <target> > > foo.c:inc.h:a.h > > foo.c:inc.h:b.h > > bar.c:bar.h > > etc. > > > > Does such a script (or something similar) exist? From what you're > > saying, I'm assuming it's easy to write. > > > Note that you could always tell MSVC to turn on printing #include chains for > each compiled file, then compile the various files you're interested in. > From this you could probably create a reverse-mapping if you wanted...
The same can be done with gcc/g++ by passing the -H argument when compiling. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <vega.ja...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---