Skip to content

Commit

Permalink
[doxygen] add include path to allow macro retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 25, 2017
1 parent a60b31d commit 448d2fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake_templates/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ SEARCH_INCLUDES = YES
# contain include files that are not input files but should be processed by
# the preprocessor.

INCLUDE_PATH =
INCLUDE_PATH = @DOXYGEN_INCLUDE_PATH@

# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
Expand Down
5 changes: 5 additions & 0 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ IF(WITH_APIDOC)
SET(WITH_QHP NO)
ENDIF(GENERATE_QHP)

SET(DOXYGEN_INCLUDE_PATH
${CMAKE_SOURCE_DIR}/src/core
)
STRING(REPLACE ";" " " DOXYGEN_INCLUDE_PATH "${DOXYGEN_INCLUDE_PATH}")

SET(DOXYGEN_INPUT
${CMAKE_SOURCE_DIR}/doc
${CMAKE_SOURCE_DIR}/src/core
Expand Down

1 comment on commit 448d2fd

@3nids
Copy link
Member Author

@3nids 3nids commented on 448d2fd Apr 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.