]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Prevent doxygen from making a mess. 18101/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 8 Feb 2025 03:57:10 +0000 (20:57 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 8 Feb 2025 03:57:10 +0000 (20:57 -0700)
source/gmsh/utilities.cc

index 03b589e79e4aede80c785790db316cf52fbd94b5..c0016071afa92f0efeff6a05059c8f41a4d3f477 100644 (file)
@@ -142,7 +142,13 @@ namespace Gmsh
 
   // explicit instantiations
 #  ifdef DEAL_II_WITH_OPENCASCADE
-#    include "gmsh/utilities.inst"
+// We don't build the utilities.inst file if deal.II isn't configured
+// with GMSH, 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 "gmsh/utilities.inst"
+#    endif
 #  endif
 } // namespace Gmsh
 

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.