uciadapter/tests/CMakeLists.txt

14 lines
388 B
Text
Raw Normal View History

2022-01-30 20:19:02 +01:00
# Configure catch3
include_directories(./catch3/)
2022-02-26 14:29:49 +01:00
add_library(uciadapter_catch3 SHARED ./catch3/catch_amalgamated.cpp)
2022-01-30 20:19:02 +01:00
# Add tests
add_executable(stockfish stockfish.cpp)
2022-02-26 14:29:49 +01:00
target_link_libraries(stockfish uciadapter uciadapter_catch3)
2022-01-30 20:19:02 +01:00
add_test(Stockfish stockfish)
add_executable(berserk berserk.cpp)
2022-02-26 14:29:49 +01:00
target_link_libraries(berserk uciadapter uciadapter_catch3)
add_test(Berserk berserk)