summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--Test/CMakeLists.txt6
2 files changed, 6 insertions, 3 deletions
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/Test/CMakeLists.txt b/Test/CMakeLists.txt
index da8c416..31793bb 100644
--- a/Test/CMakeLists.txt
+++ b/Test/CMakeLists.txt
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 3.16)
-project(Tests)
+project(Test)
set(CMAKE_CXX_STANDARD 17)
include_directories(../Src)
link_directories(../Src/cmake-build-debug)
-add_executable(Tests
+add_executable(Test
Catch2.h
main.cpp
Lower.cpp
@@ -15,4 +15,4 @@ add_executable(Tests
Replace_String.cpp
)
-target_link_libraries(Tests StringTools)
+target_link_libraries(Test StringTools)