2026-10-05 14:16:24 +02:00

26 lines
459 B
CMake

add_library(DeerithServer)
file(GLOB_RECURSE deerith_server_SOURCES
CONFIGURE_DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp
)
target_sources(DeerithServer
PRIVATE
${deerith_server_SOURCES}
)
target_include_directories(DeerithServer
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
target_link_libraries(DeerithServer
PUBLIC
DeerithCore
)
target_compile_definitions(DeerithServer
PUBLIC
DEERITH_SERVER
)