summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-11 13:36:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-11 13:36:33 (GMT)
commit5edf9fe8ce764171c42c7d2ce31fbd95f2a43aff (patch)
tree5da772caf6c8f1e7736abfff396a865ad646d53c /addon
parent34c9bac4624c5b94172af4a9d9168a44482fe552 (diff)
downloadDoxygen-5edf9fe8ce764171c42c7d2ce31fbd95f2a43aff.zip
Doxygen-5edf9fe8ce764171c42c7d2ce31fbd95f2a43aff.tar.gz
Doxygen-5edf9fe8ce764171c42c7d2ce31fbd95f2a43aff.tar.bz2
issue #7109 Doxyapp can't use "[source_file | source_dir]" parameter
- initialization has to be done in an earlier stage (and only once) - not only the INPUT tag was involved, none of the tags were set.
Diffstat (limited to 'addon')
-rw-r--r--addon/doxyapp/doxyapp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/addon/doxyapp/doxyapp.cpp b/addon/doxyapp/doxyapp.cpp
index dd092ed..f2cfa78 100644
--- a/addon/doxyapp/doxyapp.cpp
+++ b/addon/doxyapp/doxyapp.cpp
@@ -261,6 +261,8 @@ int main(int argc,char **argv)
// setup the non-default configuration options
+ Config::postProcess(FALSE);
+ ConfigValues::instance().init();
// we need a place to put intermediate files
Config_getString(OUTPUT_DIRECTORY)="/tmp/doxygen";
// disable html output
@@ -283,6 +285,7 @@ int main(int argc,char **argv)
Config_getBool(SOURCE_BROWSER)=TRUE;
// set the input
+ Config_getList(INPUT).clear();
Config_getList(INPUT).append(argv[1]);
// check and finialize the configuration