aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-19 10:09:07 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-19 10:09:07 +0100
commitf3e3ab4911e896572ad51e895c2d021eaaedaf12 (patch)
tree0727cac0332de0574980f42f6b1cf1e8b3fb1896 /CMakeLists.txt
parent8fd85102ab8e80d8327b4cf95592dd84579ac492 (diff)
Add tests and improve interface
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d7545a..dbe80e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,4 +19,8 @@ include_directories(src)
file(GLOB_RECURSE SRC_CPP_FILES src/*.cpp)
if(NOT TARGET ChessMoveInterface)
add_library(ChessMoveInterface SHARED ${SRC_CPP_FILES})
-endif() \ No newline at end of file
+endif()
+
+# Unit tests
+enable_testing()
+add_subdirectory(./tests) \ No newline at end of file