Created
February 19, 2019 20:30
-
-
Save bioshazard/05afef536bf3966a7df666a7fdc3ddc8 to your computer and use it in GitHub Desktop.
Doxygen relies on a config file. This is how I generate a callgraph for a drupal module I was exploring. Also had to install i686 version of graphviz to get a functional Dot command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cac80a94d574 html]# diff mydoxygenconfig.original mydoxygenconfig | grep ">" | |
> OUTPUT_DIRECTORY = /var/www/html/doxygenout | |
> EXTRACT_ALL = YES | |
> EXTRACT_PRIVATE = YES | |
> EXTRACT_PACKAGE = YES | |
> EXTRACT_STATIC = YES | |
> EXTRACT_LOCAL_METHODS = YES | |
> FILE_PATTERNS = *.php *.inc *.module | |
> RECURSIVE = YES | |
> HAVE_DOT = YES | |
> DOT_NUM_THREADS = 20 | |
> UML_LOOK = YES | |
> CALL_GRAPH = YES | |
> CALLER_GRAPH = YES | |
> DOT_PATH = /usr/bin/dot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doxygen -g mydoxygenconfig.original
then made my changes.doxygen /var/www/html/mydoxygenconfig
(if you want to use the absolute path)contrib/
folders that you don't want to include in the call graph generation. This is way easier than trying to parse it by hand.