From 28006c38e51b867d5bbee035e9ba54f9df0e4e95 Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 31 Dec 2023 16:08:21 +0100 Subject: [PATCH] snap --- include/testclass.h | 14 ++++++++++++++ src/CMakeLists.txt | 3 ++- src/testclass.cpp | 5 +++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 include/testclass.h create mode 100644 src/testclass.cpp diff --git a/include/testclass.h b/include/testclass.h new file mode 100644 index 0000000..5130697 --- /dev/null +++ b/include/testclass.h @@ -0,0 +1,14 @@ +// +// Created by nb on 31.12.23. +// + +#ifndef GEOMETRY_TESTCLASS_H +#define GEOMETRY_TESTCLASS_H + + +class testclass { + +}; + + +#endif //GEOMETRY_TESTCLASS_H diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ce56245..092fc63 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,7 @@ set(HEADER_LIST "${Geometry_SOURCE_DIR}/include/Geometry/dummy.h") -add_library(Geometry Dummy.cpp ${HEADER_LIST}) +add_library(Geometry Dummy.cpp ${HEADER_LIST} + testclass.cpp) target_include_directories(Geometry PUBLIC "${PROJECT_SOURCE_DIR}/include" "${PROJECT_SOURCE_DIR}/Geometry") diff --git a/src/testclass.cpp b/src/testclass.cpp new file mode 100644 index 0000000..1adf734 --- /dev/null +++ b/src/testclass.cpp @@ -0,0 +1,5 @@ +// +// Created by nb on 31.12.23. +// + +#include "testclass.h"