Skip to content

Commit

Permalink
Merge pull request #617 from wich/plantuml-dot-path
Browse files Browse the repository at this point in the history
Provide dot path to plantuml
  • Loading branch information
Dimitri van Heesch committed Oct 24, 2017
2 parents 03e724e + c24cb9a commit 1308178
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plantuml.cpp
Expand Up @@ -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 = "";
Expand All @@ -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+="\" ";
Expand Down

0 comments on commit 1308178

Please sign in to comment.