diff options
author | Dennis Allerkamp <git@dennis-allerkamp.de> | 2016-09-03 12:14:34 (GMT) |
---|---|---|
committer | Dennis Allerkamp <git@dennis-allerkamp.de> | 2016-09-03 12:14:34 (GMT) |
commit | d4b0b88e189027d514fa84de75100ff1fe6e681a (patch) | |
tree | 479d1b8378bab2cf600f26ec3c6a7454a1bbc894 /src/plantuml.cpp | |
parent | a19feec4a7864dc17fcb570330ae2f7b9a5c6e45 (diff) | |
download | Doxygen-d4b0b88e189027d514fa84de75100ff1fe6e681a.zip Doxygen-d4b0b88e189027d514fa84de75100ff1fe6e681a.tar.gz Doxygen-d4b0b88e189027d514fa84de75100ff1fe6e681a.tar.bz2 |
Option for PlantUML configuration file
Diffstat (limited to 'src/plantuml.cpp')
-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 169968e..8e40f36 100644 --- a/src/plantuml.cpp +++ b/src/plantuml.cpp @@ -54,6 +54,7 @@ QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,con void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutputFormat format) { static QCString plantumlJarPath = Config_getString(PLANTUML_JAR_PATH); + static QCString plantumlConfigFile = Config_getString(PLANTUML_CFG_FILE); QCString pumlExe = "java"; QCString pumlArgs = ""; @@ -74,6 +75,12 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp } if (pumlIncludePathList.first()) pumlArgs += "\" "; pumlArgs += "-Djava.awt.headless=true -jar \""+plantumlJarPath+"plantuml.jar\" "; + if (plantumlConfigFile != "") + { + pumlArgs += "-config \""; + pumlArgs += plantumlConfigFile; + pumlArgs += "\" "; + } pumlArgs+="-o \""; pumlArgs+=outDir; pumlArgs+="\" "; |