Skip to content

Commit 448d2fd

Browse files
committed
[doxygen] add include path to allow macro retrieval
1 parent a60b31d commit 448d2fd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

cmake_templates/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ SEARCH_INCLUDES = YES
13241324
# contain include files that are not input files but should be processed by
13251325
# the preprocessor.
13261326

1327-
INCLUDE_PATH =
1327+
INCLUDE_PATH = @DOXYGEN_INCLUDE_PATH@
13281328

13291329
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
13301330
# patterns (like *.h and *.hpp) to filter out the header-files in the

doc/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ IF(WITH_APIDOC)
4545
SET(WITH_QHP NO)
4646
ENDIF(GENERATE_QHP)
4747

48+
SET(DOXYGEN_INCLUDE_PATH
49+
${CMAKE_SOURCE_DIR}/src/core
50+
)
51+
STRING(REPLACE ";" " " DOXYGEN_INCLUDE_PATH "${DOXYGEN_INCLUDE_PATH}")
52+
4853
SET(DOXYGEN_INPUT
4954
${CMAKE_SOURCE_DIR}/doc
5055
${CMAKE_SOURCE_DIR}/src/core

0 commit comments

Comments
 (0)