aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-01-23 20:57:28 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-01-23 20:57:28 +0100
commitfd78f92863361a3b25808f2ca988f820f2d35618 (patch)
tree1133469354ae661a9d2f8f40f5009b0ed5c5886f /tests/CMakeLists.txt
Create project
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..cb7b080
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,8 @@
+include_directories(./catch3/)
+
+# Copy asset files
+file(COPY pgn_files DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
+
+# Run tests
+add_executable(pgnp_tests tests.cpp ./catch3/catch_amalgamated.cpp)
+add_test(PGNP_Tests pgnp_tests)