diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-19 10:09:07 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-19 10:09:07 +0100 |
| commit | f3e3ab4911e896572ad51e895c2d021eaaedaf12 (patch) | |
| tree | 0727cac0332de0574980f42f6b1cf1e8b3fb1896 /tests/CMakeLists.txt | |
| parent | 8fd85102ab8e80d8327b4cf95592dd84579ac492 (diff) | |
Add tests and improve interface
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..abbe651 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,11 @@ + +# Configure catch3 +include_directories(./catch3/) +add_library(cmi_catch3 SHARED ./catch3/catch_amalgamated.cpp) + +# Add tests +add_executable(cmi_tests cmi_tests.cpp) +target_link_libraries(cmi_tests ChessMoveInterface cmi_catch3) +add_test(CMI_TESTS cmi_tests) + + |
