Skip to content

Commit

Permalink
Use Doxygen integration from Noa (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti authored Nov 21, 2023
1 parent ea07dbe commit cdf488b
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 20 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ if(HYDRA_CONTRIB)
endif()

if(HYDRA_DOCS)
include(Doxygen)
noa_target_doxygen(CONFIG "${PROJECT_SOURCE_DIR}/doxygen/Doxyfile.in"
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/website")
endif()

if(PROJECT_IS_TOP_LEVEL)
Expand Down
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
vendorpull https://github.com/sourcemeta/vendorpull 559092d6906d87e5d41d90b47d72e5b75df05a2a
noa https://github.com/sourcemeta/noa 329e9a9cdcfc28580c870f3f649d892397a393bc
noa https://github.com/sourcemeta/noa 6a9c31bc962002fa6dba24f267e0e03f43affd31
googletest https://github.com/google/googletest 987e225614755fec7253aa95bf959c09e0d380d7
17 changes: 0 additions & 17 deletions cmake/Doxygen.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion doxygen/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ PROJECT_LOGO = @PROJECT_SOURCE_DIR@/doxygen/logo.png
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@/website
OUTPUT_DIRECTORY = @NOA_TARGET_DOXYGEN_OUTPUT@

# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
# sub-directories (in 2 levels) under the output directory of each output format
Expand Down
1 change: 1 addition & 0 deletions vendor/noa/cmake/noa.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions vendor/noa/cmake/noa/targets/doxygen.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cdf488b

Please sign in to comment.