U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » CPP file dependency
Re: CPP file dependency [message #33876 is a reply to message #33874] Tue, 20 September 2011 14:47 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1796
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

If that is all you want than you might want to look at Doxygen, which can generate inclusion graphs if instructed to. Also writing simple script that uses graphviz should be simple - I wrote similar thing for Upp packages some time ago.

Also "g++ -H ..." outputs the entire include hierarchy - you could simply parse it and visualize in other tool, e.g. in already mentioned graphviz. Looking at -M*, -d* and -E options might be of some help as well...

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple Layouts
Next Topic: NTL_MOVEABLE and other namespaces
Goto Forum:
  


Current Time: Fri May 15 06:29:00 GMT+2 2026

Total time taken to generate the page: 0.00590 seconds