Commit cd3d79bb4754e08fc0197c03165e41b2431897d3

sammy 2008-05-02T09:16:51

* Activate macro expansion in Doxygen to hide useless macros such as FTGL_EXPORT in the documentation.

diff --git a/docs/doxygen.cfg.in b/docs/doxygen.cfg.in
index 4417e1f..e446d98 100644
--- a/docs/doxygen.cfg.in
+++ b/docs/doxygen.cfg.in
@@ -1082,7 +1082,7 @@ ENABLE_PREPROCESSING   = YES
 # compilation will be performed. Macro expansion can be done in a controlled 
 # way by setting EXPAND_ONLY_PREDEF to YES.
 
-MACRO_EXPANSION        = NO
+MACRO_EXPANSION        = YES
 
 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES 
 # then the macro expansion is limited to the macros specified with the 
@@ -1116,7 +1116,8 @@ INCLUDE_FILE_PATTERNS  =
 # undefined via #undef or recursively expanded use the := operator 
 # instead of the = operator.
 
-PREDEFINED             = __cplusplus
+PREDEFINED             = FTGL_EXPORT= FTGL_BEGIN_C_DECLS= FTGL_END_C_DECLS= \
+                         __cplusplus
 
 # 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.