mirror of
https://gitlab.com/manzerbredes/pgnp.git
synced 2025-04-30 16:37:45 +00:00
Integrate Chess Move Interface
This commit is contained in:
parent
da88575493
commit
81f06cb209
7 changed files with 39 additions and 8 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue