mirror of
https://gitlab.com/manzerbredes/cgeditor.git
synced 2025-04-30 16:47:45 +00:00
Improve CMake integration
This commit is contained in:
parent
27c01fe045
commit
9a632b7d41
2 changed files with 1 additions and 2 deletions
|
@ -14,9 +14,9 @@ configure_file(${FILE} ${CGEDITOR_INCLUDE_DIR}/${FILE_SUBDIR} COPYONLY)
|
|||
endforeach(FILE ${HEADER_FILES})
|
||||
|
||||
# Compile cgeditor
|
||||
include_directories(src)
|
||||
file(GLOB_RECURSE SRC_CPP_FILES src/*.cpp)
|
||||
add_library(cgeditor STATIC ${SRC_CPP_FILES})
|
||||
target_include_directories(cgeditor PUBLIC ${CGEDITOR_INCLUDE_DIR})
|
||||
|
||||
# ChessMoveInterface
|
||||
add_subdirectory(libs/chess-move-interface)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue