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.
21 lines
749 B
CMake
21 lines
749 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(classicmode)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
include_directories(${CMAKE_SOURCE_DIR}/include)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/shared)
|
|
|
|
file(GLOB_RECURSE SOURCES "editor/*.h" "editor/*.cpp"
|
|
"graphics/*.h" "graphics/*.cpp"
|
|
"game/*.h" "game/*.cpp"
|
|
"shared/*.h" "*.cpp"
|
|
"include/*.h")
|
|
|
|
add_library(classicmode STATIC ${SOURCES} ${HEADERS})
|
|
target_include_directories(classicmode PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
target_link_libraries(classicmode tools)
|
|
|
|
target_include_directories(project-kyoku PRIVATE ${CMAKE_SOURCE_DIR}/src/modes/classicmode/shared)
|
|
|