forked from NaiJi/project-kyoku
15 lines
421 B
CMake
15 lines
421 B
CMake
cmake_minimum_required(VERSION 2.8.8)
|
|
|
|
project(tools)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
include_directories(${CMAKE_SOURCE_DIR}/include)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/shared)
|
|
|
|
file(GLOB_RECURSE HEADERS "shared/*.h" "include/*.h")
|
|
file(GLOB_RECURSE SOURCES "src/*.cpp")
|
|
|
|
add_library(tools STATIC ${SOURCES} ${HEADERS})
|
|
|
|
target_include_directories(project-kyoku PRIVATE ${CMAKE_SOURCE_DIR}/tools/shared)
|