diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-19 15:51:12 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-19 15:51:12 +0100 |
| commit | 81f06cb209d9d3f092e3ed0ef2e2dbc6b288f1de (patch) | |
| tree | e610487345e8f8ea78571d262946e978b7ae6247 /CMakeLists.txt | |
| parent | da8857549304590d8d32e643a22617318add542a (diff) | |
Integrate Chess Move Interface
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 64447e9..fd5cddf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() + |
