From 2958c2c72baec469523c69e60ac1c8ef09f712a8 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sun, 27 Feb 2022 13:48:21 +0100 Subject: [PATCH] Initial commit --- .gitignore | 41 +++++++++++++++++++++++++++++++++++++++++ CMakeLists.txt | 3 +++ Src/CMakeLists.txt | 8 ++++++++ Src/GeneralUtility.cpp | 2 ++ Src/GeneralUtility.h | 12 ++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 Src/CMakeLists.txt create mode 100644 Src/GeneralUtility.cpp create mode 100644 Src/GeneralUtility.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..81637c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,41 @@ +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/ + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4664c81 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,3 @@ +add_subdirectory(Src/) +add_subdirectory(Exec/) +add_subdirectory(Test/) diff --git a/Src/CMakeLists.txt b/Src/CMakeLists.txt new file mode 100644 index 0000000..5a68c51 --- /dev/null +++ b/Src/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.16) +project(GeneralUtility) + +set(CMAKE_CXX_STANDARD 17) + +add_library(GeneralUtility + GeneralUtility.cpp +) diff --git a/Src/GeneralUtility.cpp b/Src/GeneralUtility.cpp new file mode 100644 index 0000000..e248e85 --- /dev/null +++ b/Src/GeneralUtility.cpp @@ -0,0 +1,2 @@ +#include "GeneralUtility.h" + diff --git a/Src/GeneralUtility.h b/Src/GeneralUtility.h new file mode 100644 index 0000000..0511f97 --- /dev/null +++ b/Src/GeneralUtility.h @@ -0,0 +1,12 @@ +#ifndef GENERALUTILITY_GENERALUTILITY_H +#define GENERALUTILITY_GENERALUTILITY_H + +class GeneralUtility { +public: + +private: + // No instanciation! >:( + GeneralUtility(); +}; + +#endif //GENERALUTILITY_GENERALUTILITY_H