mirror of
https://gitlab.com/manzerbredes/uciadapter.git
synced 2025-04-05 17:46:27 +02:00
13 lines
388 B
CMake
13 lines
388 B
CMake
|
|
# Configure catch3
|
|
include_directories(./catch3/)
|
|
add_library(uciadapter_catch3 SHARED ./catch3/catch_amalgamated.cpp)
|
|
|
|
# Add tests
|
|
add_executable(stockfish stockfish.cpp)
|
|
target_link_libraries(stockfish uciadapter uciadapter_catch3)
|
|
add_test(Stockfish stockfish)
|
|
|
|
add_executable(berserk berserk.cpp)
|
|
target_link_libraries(berserk uciadapter uciadapter_catch3)
|
|
add_test(Berserk berserk)
|