Skip to content

Commit

Permalink
Doxygen.cmake: output dir needs creating in binary out dir
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMasarik-NOAA committed Jan 25, 2024
1 parent ce15c51 commit 7e424f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/Doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ function(Doxygen outDir)
COMMENT "Doxygen not found")
return()
endif()
add_custom_target(build-time-dir
ALL
COMMAND ${CMAKE_COMMAND} -E
make_directory ${CMAKE_BINARY_DIR}/${outDir})
set(DOXYGEN_GENERATE_HTML YES)
set(DOXYGEN_QUIET YES)
set(DOXYGEN_HTML_OUTPUT ${CMAKE_BINARY_DIR}/${outDir})
Expand Down

0 comments on commit 7e424f6

Please sign in to comment.