Skip to content

Commit b37af3e

Browse files
committed
Use Doxygen integration from Noa
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent ea07dbe commit b37af3e

File tree

6 files changed

+31
-20
lines changed

6 files changed

+31
-20
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ if(HYDRA_CONTRIB)
5858
endif()
5959

6060
if(HYDRA_DOCS)
61-
include(Doxygen)
61+
noa_target_doxygen(CONFIG "${PROJECT_SOURCE_DIR}/doxygen/Doxyfile.in"
62+
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/website")
6263
endif()
6364

6465
if(PROJECT_IS_TOP_LEVEL)

DEPENDENCIES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
vendorpull https://github.com/sourcemeta/vendorpull 559092d6906d87e5d41d90b47d72e5b75df05a2a
2-
noa https://github.com/sourcemeta/noa 329e9a9cdcfc28580c870f3f649d892397a393bc
2+
noa https://github.com/sourcemeta/noa 6a9c31bc962002fa6dba24f267e0e03f43affd31
33
googletest https://github.com/google/googletest 987e225614755fec7253aa95bf959c09e0d380d7

cmake/Doxygen.cmake

Lines changed: 0 additions & 17 deletions
This file was deleted.

doxygen/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ PROJECT_LOGO = @PROJECT_SOURCE_DIR@/doxygen/logo.png
6868
# entered, it will be relative to the location where doxygen was started. If
6969
# left blank the current directory will be used.
7070

71-
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@/website
71+
OUTPUT_DIRECTORY = @NOA_TARGET_DOXYGEN_OUTPUT@
7272

7373
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
7474
# sub-directories (in 2 levels) under the output directory of each output format

vendor/noa/cmake/noa.cmake

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/noa/cmake/noa/targets/doxygen.cmake

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)