Ignore mbedtls macros causing warnings
Sphinx's breathe plugin cannot readily parse the Mbed TLS macros, so define the less essential ones away at the doxygen step to reduce the number of warnings. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
bd2947684c
commit
b9f0674ef1
1 changed files with 9 additions and 0 deletions
|
@ -44,3 +44,12 @@ DOT_TRANSPARENT = YES
|
||||||
ALIASES += emptydescription=""
|
ALIASES += emptydescription=""
|
||||||
|
|
||||||
GENERATE_XML = YES
|
GENERATE_XML = YES
|
||||||
|
|
||||||
|
# Define away Mbed TLS macros that make parsing definitions difficult.
|
||||||
|
# MBEDTLS_DEPRECATED is not included in this list as it's important to
|
||||||
|
# display deprecated status in the documentation.
|
||||||
|
PREDEFINED = "MBEDTLS_CHECK_RETURN_CRITICAL=" \
|
||||||
|
"MBEDTLS_CHECK_RETURN_TYPICAL=" \
|
||||||
|
"MBEDTLS_CHECK_RETURN_OPTIONAL=" \
|
||||||
|
"MBEDTLS_PRINTF_ATTRIBUTE(a,b)=" \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue