From f3e3ab4911e896572ad51e895c2d021eaaedaf12 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 19 Jan 2023 10:09:07 +0100 Subject: Add tests and improve interface --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3