aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
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)