From eba0281e5fc05ef5597a81e8ebc60835f3e57876 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Tue, 13 Oct 2020 16:28:52 +0200
Subject: [PATCH] fix

---
 Documentation/Doxygen/Doxyfile.in        | 2 +-
 Framework/Particles/ParticleProperties.h | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/Doxygen/Doxyfile.in b/Documentation/Doxygen/Doxyfile.in
index 2b6c5cb9d..b733d0925 100644
--- a/Documentation/Doxygen/Doxyfile.in
+++ b/Documentation/Doxygen/Doxyfile.in
@@ -7,7 +7,7 @@ GENERATE_XML           = YES
 
 OUTPUT_DIRECTORY       = @CMAKE_CURRENT_BINARY_DIR@/
 INPUT                  = @PROJECT_SOURCE_DIR@ @PROJECT_BINARY_DIR@/Framework
-EXCLUDE_PATTERNS       = */ThirdParty/*/* */build*/*
+EXCLUDE_PATTERNS       = */ThirdParty/*/* */build*/corsika/*
 FULL_PATH_NAMES        = YES
 STRIP_FROM_PATH        = @PROJECT_SOURCE_DIR@
 
diff --git a/Framework/Particles/ParticleProperties.h b/Framework/Particles/ParticleProperties.h
index 5c76e008c..7abcc768b 100644
--- a/Framework/Particles/ParticleProperties.h
+++ b/Framework/Particles/ParticleProperties.h
@@ -54,6 +54,12 @@ namespace corsika::particles {
   int constexpr GetNucleusA(Code const);
   int constexpr GetNucleusZ(Code const);
 
+} // namespace corsika::particles
+
+// here we read the implementation of all those objects and function
+#include <corsika/particles/GeneratedParticleProperties.inc>
+
+namespace corsika::particles {
 
   /*!
    * returns mass of particle in natural units
@@ -152,5 +158,3 @@ namespace corsika::particles {
   }
 
 } // namespace corsika::particles
-
-#include <corsika/particles/GeneratedParticleProperties.inc>
-- 
GitLab