]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Prevent doxygen from making a mess. 18089/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 6 Feb 2025 16:14:26 +0000 (09:14 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 6 Feb 2025 21:44:09 +0000 (14:44 -0700)
source/trilinos/nox.cc

index 37641186f428a2d6f0bf5f245cc5b63a6f6080d7..9fd7815ca65fbbc96c0a7405c0d23d786d2093e7 100644 (file)
@@ -36,8 +36,14 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace TrilinosWrappers
 {
-#  include "trilinos/nox.inst"
-}
+// We don't build the nox.inst file if Trilinos isn't configured
+// with NOX, but doxygen doesn't know that and tries to find that
+// file anyway for parsing -- which then of course it fails on. So
+// exclude the following from doxygen consideration.
+#  ifndef DOXYGEN
+#    include "trilinos/nox.inst"
+#  endif
+} // namespace TrilinosWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.