diff options
author | Remko van der Vossen <wich@yuugen.jp> | 2017-10-23 16:08:16 (GMT) |
---|---|---|
committer | Remko van der Vossen <remko.van.der.vossen@asml.com> | 2017-10-23 16:15:45 (GMT) |
commit | c24cb9a74ef0af854455047f29f9925d79ac0195 (patch) | |
tree | 4d4a05622bc6d15738dace86738fcb74a05895bf /src | |
parent | 929ea15c46c55562862181f59ae2c6b00c046dc0 (diff) | |
download | Doxygen-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')
-rw-r--r-- | src/plantuml.cpp | 7 |
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+="\" "; |