2. Install graphviz
3. Set DOT path
export PATH=$PATH:/usr/lib/graphviz
4. Create Doxyfile
doxygen -g
5. Configurate Doxyfile: http://www-scf.usc.edu/~peterchd/doxygen/
vi Doxyfile RECURSIVE = YES
EXTRACT_ALL = YES- Extract documentation even from those elements you haven't yet commented.
INLINE_SOURCE = YES- Extract the relevant parts of the source and associate them with your description.
HAVE_DOT = YES- Use Graphviz for class and collaboration diagrammes.
CALL_GRAPH = YES- Generate a dependency graph for functions and methods.
GENERATE_LATEX = NO- Skip generating
LaTeXsources for
6. Run doxygen in the working folder
7. Open index.html under ./html
No comments:
Post a Comment