[MPlayer-dev-eng] [PATCH] Doxygen and conditional compilation

Diego Biurrun diego at biurrun.de
Mon Sep 19 11:57:20 CEST 2011


On Thu, Sep 15, 2011 at 11:30:19AM +0200, Ingo Brückl wrote:
> There are some conditional declarations within the GUI (and in MPlayer as
> well, see X11_FULLSCREEN in libvo/x11_common.c) that currently won't appear
> in the doxygen documentation, i.e. the generated documentation is rather one
> according to the personal settings than a general one. This could be changed
> by using the PREDEFINED tag.

I must say this has a smell of workaround to it.  What problem are you
trying to fix exactly?

> --- DOCS/tech/Doxyfile	(revision 34103)
> +++ DOCS/tech/Doxyfile	(working copy)
> @@ -1144,7 +1144,7 @@
>  # then the macro expansion is limited to the macros specified with the
>  # PREDEFINED and EXPAND_AS_DEFINED tags.
>  
> -EXPAND_ONLY_PREDEF     = NO
> +EXPAND_ONLY_PREDEF     = YES

What about setting MACRO_EXPANSION to "yes" instead?

Diego


More information about the MPlayer-dev-eng mailing list