Skip to content
Permalink
Browse files
Ignore SIP annotations in doxygen
  • Loading branch information
m-kuhn authored and 3nids committed Mar 30, 2017
1 parent bd75aee commit 0bdaf4fc6d6ffb39647bd314786179b4f5739b39
Showing with 11 additions and 3 deletions.
  1. +11 −3 cmake_templates/Doxyfile.in
@@ -1307,13 +1307,13 @@ 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
# PREDEFINED and EXPAND_AS_DEFINED tags.

EXPAND_ONLY_PREDEF = NO
EXPAND_ONLY_PREDEF = YES

# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
@@ -1348,7 +1348,15 @@ PREDEFINED = "QT_VERSION=0x040800"
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.

EXPAND_AS_DEFINED =
EXPAND_AS_DEFINED = "SIP_TRANSFER" \
"SIP_PYNAME" \
"SIP_OUT" \
"SIP_INOUT" \
"SIP_TRANSFERTHIS" \
"SIP_TRANSFERBACK" \
"SIP_FACTORY" \
"SIP_KEEPREFERENCE" \
"SIP_PYNAME"

# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all function-like macros that are alone

0 comments on commit 0bdaf4f

Please sign in to comment.