Skip to content

Commit cc2c206

Browse files
committed
Exclude examples/cmake_sample_project/build* from doxygen search
1 parent 5b2489f commit cc2c206

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs_input/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ set(DOXYGEN_EXAMPLE_DIR ${PROJECT_SOURCE_DIR}/examples)
1515
set(DOXYGEN_EXCLUDE_DIR ${PROJECT_SOURCE_DIR}/third_party/*)
1616
set(DOXYGEN_EXCLUDE_DIR2 ${PROJECT_BINARY_DIR}/*)
1717
set(DOXYGEN_EXCLUDE_DIR3 ${PROJECT_SOURCE_DIR}/build*)
18+
set(DOXYGEN_EXCLUDE_DIR4 ${PROJECT_SOURCE_DIR}/examples/cmake_sample_project/build*)
1819
set(DOXYXML_DIR ${PROJECT_BINARY_DIR}/doxygen/xml/)
1920
set(DOXYFILE_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in)
2021
set(DOXYFILE_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
@@ -67,4 +68,4 @@ add_custom_command(OUTPUT ${SPHINX_INDEX_FILE}
6768
COMMENT "Generating documentation with Sphinx")
6869

6970
# Nice named target so we can run the job easily
70-
add_custom_target(Sphinx ALL DEPENDS ${SPHINX_INDEX_FILE})
71+
add_custom_target(Sphinx ALL DEPENDS ${SPHINX_INDEX_FILE})

docs_input/Doxyfile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,7 @@ EXCLUDE_SYMLINKS = NO
885885
EXCLUDE_PATTERNS = "@DOXYGEN_EXCLUDE_DIR@"
886886
EXCLUDE_PATTERNS += "@DOXYGEN_EXCLUDE_DIR2@"
887887
EXCLUDE_PATTERNS += "@DOXYGEN_EXCLUDE_DIR3@"
888+
EXCLUDE_PATTERNS += "@DOXYGEN_EXCLUDE_DIR4@"
888889

889890
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
890891
# (namespaces, classes, functions, etc.) that should be excluded from the

0 commit comments

Comments
 (0)