diff options
author | albert-github <albert.tests@gmail.com> | 2019-05-14 16:20:04 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-05-14 16:20:04 (GMT) |
commit | 645e4415a32efe3987c1711f65fa2ac06779b260 (patch) | |
tree | 81eab6056b634651b1d6a6e064dca76683de5cbf /src/doxygen.cpp | |
parent | fc73eb94348ca6f567334d1c0f08d0f3b860d081 (diff) | |
download | Doxygen-645e4415a32efe3987c1711f65fa2ac06779b260.zip Doxygen-645e4415a32efe3987c1711f65fa2ac06779b260.tar.gz Doxygen-645e4415a32efe3987c1711f65fa2ac06779b260.tar.bz2 |
USE_HTAGS = YES, there are _no_ call / caller graphs in the documentation
Even when htags are enabled the source code has to be parsed, but should not be written by doxygen writers. During the "generateFileSources" some other settings are done as well like for "REFERENCED_BY_RELATION".
(based on question of Maciej W via lists.sourceforge.net on March 24 2014)
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index dd32a8e..19dfd91 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -7958,7 +7958,7 @@ static void generateFileSources() { QStrList filesInSameTu; fd->startParsing(); - if (fd->generateSourceFile() && !g_useOutputTemplate) // sources need to be shown in the output + if (fd->generateSourceFile() && !Htags::useHtags && !g_useOutputTemplate) // sources need to be shown in the output { msg("Generating code for file %s...\n",fd->docName().data()); fd->writeSource(*g_outputList,FALSE,filesInSameTu); @@ -7988,7 +7988,7 @@ static void generateFileSources() { QStrList filesInSameTu; fd->startParsing(); - if (fd->generateSourceFile() && !g_useOutputTemplate) // sources need to be shown in the output + if (fd->generateSourceFile() && !Htags::useHtags && !g_useOutputTemplate) // sources need to be shown in the output { msg("Generating code for file %s...\n",fd->docName().data()); fd->writeSource(*g_outputList,FALSE,filesInSameTu); @@ -11737,12 +11737,9 @@ void generateOutput() generateExampleDocs(); g_s.end(); - if (!Htags::useHtags) - { - g_s.begin("Generating file sources...\n"); - generateFileSources(); - g_s.end(); - } + g_s.begin("Generating file sources...\n"); + generateFileSources(); + g_s.end(); g_s.begin("Generating file documentation...\n"); generateFileDocs(); |