From 3fa68d4edcf8819ca09d8ab4e8c123362ea54948 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 6 Feb 2025 09:14:26 -0700 Subject: [PATCH] Prevent doxygen from making a mess. --- source/trilinos/nox.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5