After reading the dot user manual, I think that one possibility would be to grep all the commands and use them as input to dot, if the 'header' so to say is not already there, you could add it, you will have to remove the comment marker //& too, so. The final doxygen configuration file is: DOXYFILE_ENCODING = UTF-8ĭOCSET_PUBLISHER_ID = org.doxygen. Re: Configuring Doxygen to draw a custom graph. What flags should be set in order to get the call graphs?Īs correctly pointed out by albert, the USE_HTAGS flag must be set to NO. I've managed to get include graphs but not caller graphs with the above configuration file. Steps to generate call/caller graph Install doxygen and Graphviz. The (stripped) Doxyfile is: DOXYFILE_ENCODING = UTF-8ĭOCSET_FEEDNAME = "Doxygen generated docs"ĭOCSET_PUBLISHER_ID = The HTMLFILEEXTENSION tag can be used to specify the file extension for each generated HTML page (for example. The log file contains: gmp-6.0.0/mpn/generic/jacobi.c:130: warning: include file jacobitab.h not found, perhaps you forgot to add its directory to INCLUDE_PATH?Īlso, there are no. (even with obimplicitflush()), that make output slow when doxygen parses language files. Note that enabling this option will significantly increase the time of a run. If the CALLGRAPH tag is set to YES then doxygen will generate a call dependency graph for every global function or class method. If the DOT language processor is available, attempt call graph generation. Doxygen can create call graphs for your code. When EXTERNALSEARCH tag is enabled doxygen will no longer generate the PHP script for searching. Following the answers posted here and here I've added dot to the PATH and also created a DOT_PATH environment variable: which env | grep -Vĭot - graphviz version 2.38.0 (20140413.2041) mwdocgen.php is a MediaWiki maintenance script that generates class and file reference documentation for MediaWiki using doxygen. The call graphs currently generated are bounded inside each individual file. I'm trying to generate a call graph using doxygen and graphiz. I am trying to use doxygen to generate a call graph for a simple php file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |