28 lines
497 B
CMake
28 lines
497 B
CMake
add_library(DeerithServer)
|
|
|
|
file(GLOB_RECURSE deerith_SOURCES
|
|
CONFIGURE_DEPENDS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp
|
|
)
|
|
|
|
target_sources(DeerithServer
|
|
PRIVATE
|
|
${deerith_SOURCES}
|
|
)
|
|
|
|
target_include_directories(DeerithServer
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
)
|
|
|
|
target_link_libraries(DeerithServer
|
|
PUBLIC
|
|
DeerithCore
|
|
)
|
|
|
|
target_compile_definitions(DeerithServer
|
|
PUBLIC
|
|
DEERITH_SERVER
|
|
) |