Environment Variable for DOT Path in Doxygen for Windows

There are developers on my team who use Windows and Linux. We store Doxyfiles in our version control system. Because of this, we leave the DOT_PATH blank, and when I exit the repo to review the code, I always need to modify the DOT_PATH locally. Can I somehow change the PATH environment variable in windows so that Doxygen always finds the point when DOT_PATH is empty? The documentation sounds like I should:

# The DOT_PATH tag can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
# This tag requires that the tag HAVE_DOT is set to YES.

DOT_PATH               =

      

I edited the PATH variable for my windows account and put my path to dots, C:\Program Files (x86)\Graphviz2.30\bin\

I can see this path when I type path

into the command shell but Doxygen doesn't seem to see it.

+3


source to share


1 answer


We recently had a similar issue for PLANTUML

s doxygen

, see below for a solution.

An Doxyfile

environment parameter is set in the config file ( ), for example:

PLANTUML_JAR_PATH      = $(PLANTUML_JAR_PATH)

      

In each development environment, set the variable with the correct path, depending on the platform and specific machines.



In my case for linux, for example:

malff@linux-8edv:GIT_TRUNK> uname -a
Linux linux-8edv 4.1.39-53-default #1 SMP PREEMPT Thu Mar 30 06:44:23 UTC 2017 (56cc5a0) x86_64 x86_64 x86_64 GNU/Linux
malff@linux-8edv:GIT_TRUNK> env | grep PLANTUML_JAR_PATH
PLANTUML_JAR_PATH=/home/malff/plantuml/plantuml.8053.jar

      

Not tested, but I think something like this should work for DOT_PATH

.

+3


source







All Articles