Files
cpl_cpp-project/Tests/CMakeLists.txt
2022-10-27 13:07:24 +02:00

17 lines
299 B
CMake

add_subdirectory(Catch2/)
add_executable(tests
Main.cpp
SquareTests.cpp
MoveTests.cpp
PieceTests.cpp
BoardTests.cpp
FenTests.cpp
EngineTests.cpp
)
target_link_libraries(tests cplchess_lib Catch2::Catch2)
include(Catch2/contrib/Catch.cmake)
catch_discover_tests(tests)