1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-21 11:22:45 +01:00

Cmake options to customise doxygen warnings. (#15071)

* Add: Cmake otion to hide line numbers in doxygen warnings.
* Add: Cmake options to specify output file for doxygen warnings.

Adds 3 options each one for each docs target, because doxygen deletes
content of the specified file before it begins to write into it.
This commit is contained in:
Cyprian Klimaszewski
2026-01-11 10:58:20 +01:00
committed by GitHub
parent dc15cd30e8
commit 9e9b51369e
5 changed files with 30 additions and 6 deletions

View File

@@ -120,9 +120,9 @@ WARN_IF_DOC_ERROR = YES
WARN_IF_INCOMPLETE_DOC = YES
WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = NO
WARN_FORMAT = "$file:$line: $text"
WARN_FORMAT = "$file:$${DOXYGEN_WARN_FORMAT_LINE}: $text"
WARN_LINE_FORMAT = "at line $line of file $file"
WARN_LOGFILE =
WARN_LOGFILE = ${DOXYGEN_AI_WARN_FILE}
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------

View File

@@ -120,9 +120,9 @@ WARN_IF_DOC_ERROR = YES
WARN_IF_INCOMPLETE_DOC = YES
WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = NO
WARN_FORMAT = "$file:$line: $text"
WARN_FORMAT = "$file:$${DOXYGEN_WARN_FORMAT_LINE}: $text"
WARN_LINE_FORMAT = "at line $line of file $file"
WARN_LOGFILE =
WARN_LOGFILE = ${DOXYGEN_GS_WARN_FILE}
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------