Do you know tool building tree of include files in project\file?

前端 未结 6 1855
臣服心动
臣服心动 2020-12-03 23:59

Say, I\'d like to have a tool (or script?) taking project (or .h file) and building searchable tree of \"includes\" included into it (of included into of included into and s

6条回答
  •  离开以前
    2020-12-04 00:43

    There exists a tool called include gardener, which can be found here: https://github.com/feddischson/include_gardener This gives you the include tree in dot or graphml (xml) format. But it does not consider other preprocessor statements like #if, #else, #endif.

提交回复
热议问题