Skip to content

Commit

Permalink
[fbgemm_gpu] Add Doxygen predefines
Browse files Browse the repository at this point in the history
- Add platform preprocessor flags to Doxygen to enable docs generation for
code sections that are `#ifdef`-guarded by platform flags
  • Loading branch information
q10 committed May 20, 2024
1 parent 37c283c commit 9d45257
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions fbgemm_gpu/docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2360,9 +2360,15 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.

# Define platform preprocessor flags to enable docs generation for code sections
# that are `#ifdef`-guarded by platform flags

PREDEFINED = DOXYGEN_THIS_WILL_BE_SKIPPED \
"FBGEMM_API=" \
"DLL_PUBLIC="
FBGEMM_API \
DLL_PUBLIC \
__linux__ \
_WIN32 \
__APPLE__

# 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. The
Expand Down

0 comments on commit 9d45257

Please sign in to comment.