mirror of
https://gitlab.com/manzerbredes/pgnp.git
synced 2025-04-19 03:49:43 +00:00
- Enable NAG parsing
- Add the LargeFileStream interface to handle large file - Debug parsing
This commit is contained in:
parent
8a770f9133
commit
bb914f047b
8 changed files with 205 additions and 71 deletions
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
|
|||
project(pgnp)
|
||||
|
||||
# Shared library
|
||||
add_library(pgnp SHARED src/PGN.cpp src/HalfMove.cpp)
|
||||
add_library(pgnp SHARED src/PGN.cpp src/HalfMove.cpp src/LargeFileStream.cpp)
|
||||
|
||||
# Includes
|
||||
set(PGNP_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/includes) # For conveniance
|
||||
|
@ -10,6 +10,7 @@ set(PGNP_INCLUDE_DIR ${PGNP_INCLUDE_DIR} PARENT_SCOPE) # To be used by other pro
|
|||
file(MAKE_DIRECTORY ${PGNP_INCLUDE_DIR})
|
||||
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)
|
||||
|
||||
include_directories(${PGNP_INCLUDE_DIR})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue