mirror of
https://gitlab.com/manzerbredes/chessarbiter.git
synced 2025-04-19 12:09:41 +00:00
Init project
This commit is contained in:
commit
e9d328acf4
19 changed files with 23418 additions and 0 deletions
17
tests/CMakeLists.txt
Normal file
17
tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Configure catch3
|
||||
include_directories(./catch3/)
|
||||
add_library(catch3 SHARED ./catch3/catch_amalgamated.cpp)
|
||||
|
||||
# Add tests
|
||||
add_executable(fen_tests fen.cpp)
|
||||
target_link_libraries(fen_tests chessarbiter catch3)
|
||||
add_test(Fen_Test fen_tests)
|
||||
|
||||
add_executable(board_tests board.cpp)
|
||||
target_link_libraries(board_tests chessarbiter catch3)
|
||||
add_test(Board_Test board_tests)
|
||||
|
||||
add_executable(chessarbiter_tests chessarbiter.cpp)
|
||||
target_link_libraries(chessarbiter_tests chessarbiter catch3)
|
||||
add_test(ChessArbiter_Test chessarbiter_tests)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue