-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable doxygen in cmake build #1281
Enable doxygen in cmake build #1281
Conversation
Thanks for your review @edwardhartnett |
You could consider using the 'required' keyword for |
Thanks @AlexanderRichert-NOAA, that's a great suggestion. I'll update 'find_package' to use the 'required' keyword. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving based on @edwardhartnett and @AlexanderRichert-NOAA review
Thank you for reviewing @JessicaMeixner-NOAA |
* 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)
* 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)
* feature/gpu/w3srce_refactor: 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) Add option to use NetCDF output instead of binary for point output (NOAA-EMC#1230)
Pull Request Summary
Enables doxygen documention within the cmake build system.
Description
Doxygen support is added to the build system via:
ENABLE_DOCS
) is added to the mainCMakeLists.txt
file, which is currently set toOFF
by default.cmake
module is added (EnableDoxygen
) which takes an output directory as an argument. Default is set asdocs
.EnableDoxygen
adds a target (enable_docs
) to the build system. Ifdoxygen
is not found on the system, the target will fail, otherwisedoxygen
will be run and the output location ofindex.html
is displayed duringcmake
config.cmake
build files to handledoxygen
documentation, so there are no answer changes expected.Usage
Steps to generate
doxygen
documentation from the WW3 root directory:View html docs in browser (ex, firefox) for default output location
enable_docs
will just rundoxygen
on the source files. However, the dependencies (i.e, Fortran compiler, NetCDF, etc) still need to be available due to checks within the build system.Please also include the following information:
Issue(s) addressed
Commit Message
Enable doxygen documentation in the cmake build system
Check list
Testing