From 3f8e64dd1edf06c6e4f58378731c43b1aa5fd576 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Fri, 10 Aug 2018 16:03:53 +0200
Subject: [PATCH] added LANGUAGES to cmake project

---
 CMakeLists.txt              |  2 +-
 Framework/Logging/Logging.h | 27 ---------------------------
 2 files changed, 1 insertion(+), 28 deletions(-)
 delete mode 100644 Framework/Logging/Logging.h

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2539e2816..f38afccea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required (VERSION 3.4.3)
 
-project (corsika VERSION 8.0.0 DESCRIPTION "CORSIKA C++ project")
+project (corsika VERSION 8.0.0 DESCRIPTION "CORSIKA C++ project" LANGUAGES C CXX)
 
 # ignore many irrelevant Up-to-date messages during install
 set (CMAKE_INSTALL_MESSAGE LAZY)
diff --git a/Framework/Logging/Logging.h b/Framework/Logging/Logging.h
deleted file mode 100644
index 548e50852..000000000
--- a/Framework/Logging/Logging.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _include_logging_h_
-#define _include_logging_h_
-
-#include <logger.h>
-
-#include <map>
-#include <string>
-#include <any>
-
-class Logging {
-  
-  Logging() {}
-  
- public:
-  
-  static Logging& GetInstance() { static Logging fgLog; return fgLog; }
-
-  template<typename TLogger>
-    void AddLogger(const std::string& name, const TLogger& logger) { fLoggers[name] = logger; }
-
-  auto& GetLogger(const std::string& name) { return fLoggers[name]; }
-  
- private:
-  std::map<std::string, std::any> fLoggers;
-};
-
-#endif
-- 
GitLab