cf/make-proto.pl copies Doxygen docs to -private and -protos headers.
We need to either extract these from those files but not source files,
or only from source files but not the generated headers. This commit
does the latter.
$public_h_header .= "/* This is a generated file */
#ifndef $block
#define $block
+#ifndef DOXY
";
if ($oproto) {
if ($public_h ne "" && $flags{"header"}) {
$public_h = $public_h_header . $public_h .
- $public_h_trailer . "#endif /* $block */\n";
+ $public_h_trailer . "#endif /* DOXY */\n#endif /* $block */\n";
}
if ($private_h ne "" && $flags{"header"}) {
$private_h = $private_h_header . $private_h .
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
-PREDEFINED =
+PREDEFINED = DOXY
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------