summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-11-23 14:17:17 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-11-23 14:17:17 (GMT)
commitb88e8097acdb30175c024ed47258739cec30f903 (patch)
tree23530963101cc692e5e63994c2296491a21ea742 /src/doxygen.cpp
parent4e75d77f60bd173019247177686376ce36ace90b (diff)
downloadDoxygen-b88e8097acdb30175c024ed47258739cec30f903.zip
Doxygen-b88e8097acdb30175c024ed47258739cec30f903.tar.gz
Doxygen-b88e8097acdb30175c024ed47258739cec30f903.tar.bz2
issue #8023 Add option to exit with non-zero exit code on warnings even if WARN_AS_ERROR is OFF
In case we want for a Continuous integration system a non-zero exit status at the end of a doxygen we can now set `WARN_AS_ERRORS=FAIL_ON_WARNINGS`. The behavior for `NO` and `YES` remains as it was.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 6c8c67a..2eec97e 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -11912,6 +11912,7 @@ void generateOutput()
QDir thisDir;
thisDir.remove(Doxygen::objDBFileName);
thisDir.remove(Doxygen::filterDBFileName);
+ finishWarnExit();
Config::deinit();
QTextCodec::deleteAllCodecs();
delete Doxygen::clangUsrMap;