diff options
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) + + |
