From f5d9fe6211bd397deb0ac19b634f551edfa0f6b8 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 30 Jan 2022 20:19:02 +0100 Subject: Initialize project --- tests/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/CMakeLists.txt (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..2ace20f --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,13 @@ + +# Configure catch3 +include_directories(./catch3/) +add_library(catch3 SHARED ./catch3/catch_amalgamated.cpp) + +# Add tests +add_executable(stockfish stockfish.cpp) +target_link_libraries(stockfish uciadapter catch3) +add_test(Stockfish stockfish) + +add_executable(berserk berserk.cpp) +target_link_libraries(berserk uciadapter catch3) +add_test(Berserk berserk) \ No newline at end of file -- cgit v1.2.3