doxygen+graphviz
发现用这个看源码实在太方便了
http://www.graphviz.org/Download..php
step1: 指定doxygen.exe的路径,我的C:/Program Files/doxygen/bin
step2:
1.wizard: 指定source code directory, 并对scan rescursively(递归扫描子目录)打勾, 指定目的生成文件的路径
output:如果要生成chm,对prepare for compressed HTML打勾
diagrams:use dot tool from the graphViz package
2.expert
Build:EXTRACT_ALL,EXTRACT_PRIVATE,EXTRACT_STATIC,EXTRACT_LOCAL_CLASSES,EXTRACT_LOCAL_METHODS 打勾
HTML:如果要生成CHM,GENERATE_HTMLHELP,HHC_LOCATION: C:/Program Files/HTML Help Workshop/hhc.exe
Dot: HAVE_DOT,CALL_GRAPH,CALLER_GRAPH, DOT_PATH:C:/Program Files/Graphviz 2.28/bin
3.Run