From: Wolfgang Bangerth Date: Thu, 6 Feb 2025 16:14:26 +0000 (-0700) Subject: Prevent doxygen from making a mess. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fa68d4edcf8819ca09d8ab4e8c123362ea54948;p=dealii.git Prevent doxygen from making a mess. --- diff --git a/source/trilinos/nox.cc b/source/trilinos/nox.cc index 37641186f4..9fd7815ca6 100644 --- a/source/trilinos/nox.cc +++ b/source/trilinos/nox.cc @@ -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