Re: [Doxygen-users] documenting multiple methods defined by a single macro - help
Brought to you by:
dimitri
From: <mx...@se...> - 2005-11-29 12:10:17
|
You get evidently the macro not expanded, which means you have bad setup in some way. * maybe you want to expand even the macros BOOST_PP_REPEAT BOOST_PP_INC RESHAPE_DIM_MAX etc. (EXPAND_AS_DEFINED = RESHAPE BOOST_PP_REPEAT BOOST_PP_INC RESHAPE_DIM_MAX) or in first try you can set EXPAND_ONLY_PREDEF = NO and see what happens. * in the BOOST_PP_REPEAT(BOOST_PP_INC(RESHAPE_DIM_MAX), RESHAPE, _) there are missing RESHAPE macro parameters? And you must have included the headers where the macro is defined in every file you want to expand the macro (=every .h and directly or indirectly every .cpp), and the path to the macro header (and another headers if you include the header indirectly) must be set in INCLUDE_PATH = ... (it does NOT suffice to have this file only in INPUT files). Manfred Doudar wrote: > > Yes - that's what I'm trying to do... but still no success :-( > > Running with the -d option (doxygen -d Preprocessor <config.dox>), > yielded the following suprise: > > > 00094 /** > 00095 * > 00096 * @def RESHAPE > 00097 * > 00098 * The macro documentaion is here. > 00099 */ > 00100 #define RESHAPE(z, N, _) > 00101 > 00102 > 00103 > 00104 > 00105 > 00106 > 00107 > 00108 > 00109 > 00110 > 00111 /**/ > 00112 > 00113 > 00114 BOOST_PP_REPEAT(BOOST_PP_INC(RESHAPE_DIM_MAX), RESHAPE, _) > 00115 > > > > ... As you can see, there's nothing there - this one has really got me. > > -Any other ideas ?? > > |