summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-13 11:54:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-13 11:54:33 (GMT)
commit577e7844a7fd60cfc4e2f0e7b3bff6ba3e368368 (patch)
treeabfcc8fe5880c10c55a05a4f3446f30722352f8c
parent5edf9fe8ce764171c42c7d2ce31fbd95f2a43aff (diff)
downloadDoxygen-577e7844a7fd60cfc4e2f0e7b3bff6ba3e368368.zip
Doxygen-577e7844a7fd60cfc4e2f0e7b3bff6ba3e368368.tar.gz
Doxygen-577e7844a7fd60cfc4e2f0e7b3bff6ba3e368368.tar.bz2
issue #7109 Doxyapp can't use "[source_file | source_dir]" parameter
- setting RECURSIVE (required for directories) - making check / adjust consistent with doxyparse
-rw-r--r--addon/doxyapp/doxyapp.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/addon/doxyapp/doxyapp.cpp b/addon/doxyapp/doxyapp.cpp
index f2cfa78..c18f907 100644
--- a/addon/doxyapp/doxyapp.cpp
+++ b/addon/doxyapp/doxyapp.cpp
@@ -261,8 +261,8 @@ int main(int argc,char **argv)
// setup the non-default configuration options
- Config::postProcess(FALSE);
- ConfigValues::instance().init();
+ checkConfiguration();
+ adjustConfiguration();
// we need a place to put intermediate files
Config_getString(OUTPUT_DIRECTORY)="/tmp/doxygen";
// disable html output
@@ -283,15 +283,13 @@ int main(int argc,char **argv)
// Extract source browse information, needed
// to make doxygen gather the cross reference info
Config_getBool(SOURCE_BROWSER)=TRUE;
+ // In case of a directory take all files on directory and its subdirectories
+ Config_getBool(RECURSIVE)=TRUE;
// set the input
Config_getList(INPUT).clear();
Config_getList(INPUT).append(argv[1]);
- // check and finialize the configuration
- checkConfiguration();
- adjustConfiguration();
-
// parse the files
parseInput();