Doxygen

編譯少了 liconv

src/Makefile.doxygen加上 -liconv

LIBS    =   -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread -liconv

畫 Structure

HAVE_DOT               = YES
UML_LOOK               = YES
RECURSIVE = YES

Call Graph

RECURSIVE = YES
HAVE_DOT               = YES
EXTRACT_ALL            = YES
EXTRACT_PRIVATE        = YES
EXTRACT_STATIC         = YES
CALL_GRAPH             = YES

sed

sed -ri.bak '/^RECURSIVE\s|^HAVE_DOT\s|^EXTRACT_ALL\s|^EXTRACT_PRIVATE\s|^EXTRACT_STATIC\s|^CALL_GRAPH\s|^CALLER_GRAPH\s/s/= NO/= YES/' Doxyfile

书籍推荐