C/C++ include files analysis
Linux 下使用
# Compiler bash build.sh # 或者使用 make make # Run (use Lua as a Example) ./headerFileAnalysis path/to/your/project/
- install graphviz. if you use Ubuntu OS, run
sudo apt-get install graphviz
if you use Windows. download it from graphviz website don't forget add graphviz to your system path.
-
install VScode plugin Graphviz Preview(author: EFanZh)
-
in VSCode, open a dot file, then you can find a button on upper left of the window. click it, you can see a picture like
# pdf format $ dot -Tpdf -o output.pdf input.dot # svg format $ dot -Tsvg -o output.svg input.dot
mor output format see Graphviz Output Formats Document