From fd78f92863361a3b25808f2ca988f820f2d35618 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 23 Jan 2022 20:57:28 +0100 Subject: Create project --- tests/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 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..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) -- cgit v1.2.3