forked from NaiJi/project-kyoku
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
761 B
CMake
19 lines
761 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(application)
|
|
|
|
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(application STATIC ${SOURCES} ${HEADERS})
|
|
target_link_libraries(application tools classicmode)
|
|
target_include_directories(application PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
target_include_directories(application PRIVATE ${CMAKE_SOURCE_DIR}/src/modes/classicmode/shared)
|
|
target_include_directories(application PRIVATE ${CMAKE_SOURCE_DIR}/src/tools/shared)
|
|
|
|
target_include_directories(project-kyoku PRIVATE ${CMAKE_SOURCE_DIR}/src/application/shared)
|