Files
cpl_cpp-project/Tests/CMakeLists.txt
2022-12-22 12:10:14 +01:00

18 lines
320 B
CMake

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