diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-10-19 22:26:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 22:26:39 (GMT) |
commit | 847cb427cb7100be88d78e954a02a70b10d0f5c4 (patch) | |
tree | d3822fd44413998badf4063fb5a752e55a883c87 /doxygen | |
parent | ce864f6040c65df7909931c06ac72c18a8ce9ff7 (diff) | |
download | hdf5-847cb427cb7100be88d78e954a02a70b10d0f5c4.zip hdf5-847cb427cb7100be88d78e954a02a70b10d0f5c4.tar.gz hdf5-847cb427cb7100be88d78e954a02a70b10d0f5c4.tar.bz2 |
GH issue 3398 - option to disable doxygen warn as error (#3709)
Diffstat (limited to 'doxygen')
-rw-r--r-- | doxygen/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doxygen/Doxyfile.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doxygen/CMakeLists.txt b/doxygen/CMakeLists.txt index 7bfbe74..8fe3b77 100644 --- a/doxygen/CMakeLists.txt +++ b/doxygen/CMakeLists.txt @@ -30,6 +30,7 @@ if (DOXYGEN_FOUND) set (DOXYGEN_STRIP_FROM_PATH ${HDF5_SOURCE_DIR}) set (DOXYGEN_STRIP_FROM_INC_PATH ${HDF5_SOURCE_DIR}) set (DOXYGEN_PREDEFINED "H5_HAVE_DIRECT H5_HAVE_LIBHDFS H5_HAVE_MAP_API H5_HAVE_PARALLEL H5_HAVE_ROS3_VFD H5_DOXYGEN H5_HAVE_SUBFILING_VFD H5_HAVE_IOC_VFD H5_HAVE_MIRROR_VFD") + set (DOXYGEN_WARN_AS_ERROR ${HDF5_DOXY_WARNINGS}) # This configure and individual custom targets work together # Replace variables inside @@ with the current values diff --git a/doxygen/Doxyfile.in b/doxygen/Doxyfile.in index b24b9f9..464e09a 100644 --- a/doxygen/Doxyfile.in +++ b/doxygen/Doxyfile.in @@ -625,7 +625,7 @@ WARN_NO_PARAMDOC = NO # a warning is encountered. # The default value is: NO. -WARN_AS_ERROR = FAIL_ON_WARNINGS +WARN_AS_ERROR = @DOXYGEN_WARN_AS_ERROR@ # The WARN_FORMAT tag determines the format of the warning messages that doxygen # can produce. The string should contain the $file, $line, and $text tags, which |