summaryrefslogtreecommitdiffstats
path: root/StringTools/Test/CMakeLists.txt
diff options
context:
space:
mode:
authorLeonetienne <leonetienne@hotmail.de>2022-02-11 01:32:43 +0100
committerLeonetienne <leonetienne@hotmail.de>2022-02-11 01:32:43 +0100
commita516b3aa6f6906d6780172d684e91fa4b7d3cdd1 (patch)
tree8cea43809112a3b1314d1da23fa1935b02c8d81e /StringTools/Test/CMakeLists.txt
parente3932dbdceb841961e7ad889c4e290e00d268018 (diff)
Switched to Catch2 testing framework
Diffstat (limited to 'StringTools/Test/CMakeLists.txt')
-rw-r--r--StringTools/Test/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/StringTools/Test/CMakeLists.txt b/StringTools/Test/CMakeLists.txt
new file mode 100644
index 0000000..da0e176
--- /dev/null
+++ b/StringTools/Test/CMakeLists.txt
@@ -0,0 +1,18 @@
+cmake_minimum_required(VERSION 3.16)
+project(Tests)
+
+set(CMAKE_CXX_STANDARD 17)
+
+include_directories(..)
+link_directories(../StringTools/cmake-build-debug)
+
+add_executable(Tests
+ Catch2.h
+ main.cpp
+ Lower.cpp
+ Upper.cpp
+ Replace_Char.cpp
+ Replace_String.cpp
+)
+
+target_link_libraries(Tests Stringtools)