aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-22 22:34:19 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-22 23:29:59 -0400
commitcc6d21ac9fbd7905e130cf0d4b3fea08a216403b (patch)
tree805cfa4054bc68bb3225730eb8297059c416046f
parent1d337f535f04b0f4d907266e2653773846475baa (diff)
Doxyfile: add __DOXYGEN_PREDEFINED_HACK to PREDEFINED.
Doxygen refuses to trust us when we \def something that it doesn't notice as a #define. To work around this, we put __DOXYGEN_PREDEFINED_HACK into our Doxyfile's PREDEFINED, so that documentation may be inserted for #defines which we know will exist.
-rw-r--r--support/doxygen/Doxyfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/doxygen/Doxyfile b/support/doxygen/Doxyfile
index c49fdc0..67b7692 100644
--- a/support/doxygen/Doxyfile
+++ b/support/doxygen/Doxyfile
@@ -1376,7 +1376,8 @@ PREDEFINED = __attribute__()= \
__cplusplus \
STM32_MEDIUM_DENSITY \
STM32_HIGH_DENSITY \
- STM32_XL_DENSITY
+ STM32_XL_DENSITY \
+ __DOXYGEN_PREDEFINED_HACK
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.