Skip to content

Commit

Permalink
issue #7109 Doxyapp can't use "[source_file | source_dir]" parameter
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
albert-github committed Jul 11, 2019
1 parent 34c9bac commit 5edf9fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon/doxyapp/doxyapp.cpp
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/configgen.py
Expand Up @@ -717,6 +717,10 @@ def main():
print("")
print("void ConfigValues::init()")
print("{")
print(" static bool first = TRUE;")
print(" if (!first) return;")
print(" first = FALSE;")
print("")
for n in elem.childNodes:
if n.nodeType == Node.ELEMENT_NODE:
if (n.nodeName == "group"):
Expand Down

0 comments on commit 5edf9fe

Please sign in to comment.