Skip to content

Commit 3f3061a

Browse files
committed
Adds doxygen output to the preset.
1 parent 690002b commit 3f3061a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include)
137137
# Doxygen
138138
#=======================================================================
139139

140-
set(DOXYGEN_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/doc")
141-
142140
configure_file(doc/Doxyfile.in doc/Doxyfile @ONLY)
143141

144142
add_custom_target(

CMakePresets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"CMAKE_CXX_FLAGS": "-Wall -Wextra -fsanitize=address",
5252
"CMAKE_SHARED_LINKER_FLAGS": "-fsanitize=address",
5353
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
54-
"PROJECT_BINARY_DIR": "${sourceDir}/build/dev"
54+
"PROJECT_BINARY_DIR": "${sourceDir}/build/dev",
55+
"DOXYGEN_OUTPUT_DIRECTORY": "${sourceDir}/build/dev/doc/"
5556
}
5657
},
5758
{

doc/Doxyfile.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -907,10 +907,7 @@ WARN_LOGFILE =
907907
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
908908
# Note: If this tag is empty the current directory is searched.
909909

910-
INPUT = include \
911-
benchmarks/benchmarks.md \
912-
CHANGELOG.md \
913-
examples README.md
910+
INPUT = include examples README.md
914911

915912
# This tag can be used to specify the character encoding of the source files
916913
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses

0 commit comments

Comments
 (0)