summaryrefslogtreecommitdiffstats
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
authorRemko van der Vossen <wich@yuugen.jp>2017-10-23 16:08:16 (GMT)
committerRemko van der Vossen <remko.van.der.vossen@asml.com>2017-10-23 16:15:45 (GMT)
commitc24cb9a74ef0af854455047f29f9925d79ac0195 (patch)
tree4d4a05622bc6d15738dace86738fcb74a05895bf /src/plantuml.cpp
parent929ea15c46c55562862181f59ae2c6b00c046dc0 (diff)
downloadDoxygen-c24cb9a74ef0af854455047f29f9925d79ac0195.zip
Doxygen-c24cb9a74ef0af854455047f29f9925d79ac0195.tar.gz
Doxygen-c24cb9a74ef0af854455047f29f9925d79ac0195.tar.bz2
Provide dot path to plantuml
If HAVE_DOT = YES and DOT_PATH is configured, pass the path to the dot executable to plantuml with the -graphvizdot option.
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index f97f690..609d5fd 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -57,6 +57,7 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
{
static QCString plantumlJarPath = Config_getString(PLANTUML_JAR_PATH);
static QCString plantumlConfigFile = Config_getString(PLANTUML_CFG_FILE);
+ static QCString dotPath = Config_getString(DOT_PATH);
QCString pumlExe = "java";
QCString pumlArgs = "";
@@ -83,6 +84,12 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
pumlArgs += plantumlConfigFile;
pumlArgs += "\" ";
}
+ if (Config_getBool(HAVE_DOT) && !dotPath.isEmpty())
+ {
+ pumlArgs += "-graphvizdot \"";
+ pumlArgs += dotPath;
+ pumlArgs += "dot\" ";
+ }
pumlArgs+="-o \"";
pumlArgs+=outDir;
pumlArgs+="\" ";