forked from NOAA-EMC/WW3
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into fb_smc_gpuport
* origin/develop: Enable doxygen documentation in the cmake build system (NOAA-EMC#1281) Simplify MPI ifdefs in subroutine W3MPIO (NOAA-EMC#1266) Add depth scaling value to SMC regression tests. (NOAA-EMC#1264) Updates to NCEP regtests for Orion Rocky9 OS(NOAA-EMC#1263) Fix code stability issue in ww3_outp (NOAA-EMC#1258) Fix GNU regtest CI failure (NOAA-EMC#1253)
- Loading branch information
Showing
10 changed files
with
98 additions
and
669 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
EnableDoxygen(docs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Doxygen documentation- Matt Masarik 24-Jul-2024. | ||
function(EnableDoxygen outdir) | ||
find_package(Doxygen REQUIRED) | ||
if (NOT DOXYGEN_FOUND) | ||
add_custom_target(enable_docs | ||
COMMAND false | ||
COMMENT "Doxygen not found") | ||
return() | ||
endif() | ||
|
||
set(src_input "${CMAKE_SOURCE_DIR}/model/src") | ||
set(doc_output "${CMAKE_BINARY_DIR}/${outdir}") | ||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${outdir}/html) | ||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/docs/Doxyfile.in | ||
${CMAKE_BINARY_DIR}/${outdir}/Doxyfile @ONLY) | ||
set(DOXYGEN_GENERATE_HTML YES) | ||
set(DOXYGEN_QUIET YES) | ||
add_custom_target(enable_docs | ||
COMMAND | ||
${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/${outdir}/Doxyfile | ||
WORKING_DIRECTORY | ||
${CMAKE_BINARY_DIR}/${outdir} | ||
COMMENT | ||
"Generate Doxygen HTML documentation") | ||
message("-- Doxygen HTML index page: " | ||
${CMAKE_BINARY_DIR}/${outdir}/html/index.html) | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.