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 )