Integrate Chess Move Interface

This commit is contained in:
Loic Guegan 2023-01-19 15:51:12 +01:00
parent da88575493
commit 81f06cb209
7 changed files with 39 additions and 8 deletions

View file

@ -12,9 +12,16 @@ configure_file(src/PGN.hpp ${PGNP_INCLUDE_DIR}/pgnp.hpp COPYONLY)
configure_file(src/HalfMove.hpp ${PGNP_INCLUDE_DIR} COPYONLY)
configure_file(src/LargeFileStream.hpp ${PGNP_INCLUDE_DIR} COPYONLY)
configure_file(src/Types.hpp ${PGNP_INCLUDE_DIR} COPYONLY)
include_directories(${PGNP_INCLUDE_DIR})
# ChessMoveInterface
add_subdirectory(libs/chess-move-interface)
include_directories(${CMI_INCLUDE_DIR})
# Unit tests
enable_testing()
add_subdirectory(./tests)
set(COMPILE_TESTS OFF CACHE BOOL "Should unit tests be compiled")
if(COMPILE_TESTS)
enable_testing()
add_subdirectory(./tests)
endif()