diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-02 19:38:40 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-02 19:38:40 +0200 |
| commit | 2df779cef106a875ce29b18256e3be3243074bfa (patch) | |
| tree | d2824e143b99635dbdc2bc3cd2844f7446070b6a | |
| parent | 943ddf3aa5538716afbb5a746d839e6b66b74078 (diff) | |
Update chess-move-interface and improve CMake integration
| -rw-r--r-- | CMakeLists.txt | 3 | ||||
| m--------- | libs/chess-move-interface | 0 |
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 66b0f1c..8641fab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10) project(pgnp) # Shared library -add_library(pgnp SHARED src/PGN.cpp src/HalfMove.cpp src/LargeFileStream.cpp) +add_library(pgnp STATIC src/PGN.cpp src/HalfMove.cpp src/LargeFileStream.cpp) # Includes set(PGNP_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/includes) # For conveniance @@ -16,7 +16,6 @@ include_directories(${PGNP_INCLUDE_DIR}) # ChessMoveInterface add_subdirectory(libs/chess-move-interface) -include_directories(${CMI_INCLUDE_DIR}) target_link_libraries(pgnp PUBLIC ChessMoveInterface) # Add include directiries to target to be independent of ${PGNP_INCLUDE_DIR} and ${CMI_INCLUDE_DIR} diff --git a/libs/chess-move-interface b/libs/chess-move-interface -Subproject 7125292878ffc3568018e1e509c9210a074c67a +Subproject 03ce4126cfa09ff0a55e70bdc44c1d5dd403504 |
