2021-09-14 15:02:23 -04:00
|
|
|
cmake_minimum_required(VERSION 2.8.8)
|
|
|
|
|
|
|
|
project(core)
|
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/include)
|
|
|
|
|
|
|
|
file(GLOB_RECURSE HEADERS "shared/*.h")
|
|
|
|
file(GLOB_RECURSE SOURCES "src/*.cpp")
|
|
|
|
|
|
|
|
add_library(core STATIC ${SOURCES} ${HEADERS})
|
|
|
|
target_include_directories(core PRIVATE ${CMAKE_SOURCE_DIR}/tools/shared)
|
|
|
|
target_link_libraries(core tools)
|
2021-09-27 23:48:06 -04:00
|
|
|
|
|
|
|
target_include_directories(project-kyoku PRIVATE ${CMAKE_SOURCE_DIR}/core/shared)
|