aboutsummaryrefslogtreecommitdiffstats
path: root/support
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
commit7dd4b6f6a3845e354e052c4d3c76117c1dbe3525 (patch)
tree805cfa4054bc68bb3225730eb8297059c416046f /support
parent551dded11a77ca5ed84de2f8a9b4423e5e74186c (diff)
downloadlibrambutan-7dd4b6f6a3845e354e052c4d3c76117c1dbe3525.tar.gz
librambutan-7dd4b6f6a3845e354e052c4d3c76117c1dbe3525.zip
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.
Diffstat (limited to 'support')
-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.