project(tw_server) # set(CMAKE_CXX_CLANG_TIDY "/usr/bin/clang-tidy;-checks=*") file(GLOB FILES src/ZoneServer.cpp src/ZoneCoordinator.cpp src/ZoneClusterLink.cpp src/ZoneManager.cpp src/interest_management/*.cpp src/replication/*.cpp src/systems/*.cpp src/monitoring/*.cpp src/network/*.cpp ) add_library(tw_server_lib STATIC ${FILES}) target_include_directories(tw_server_lib PUBLIC ${PROJECT_SOURCE_DIR}/src/ ) target_link_libraries(tw_server_lib PUBLIC towards tw::io tw::network tw::protocol tw::message_protocol tw::serialization tw::quicr glm::glm EnTT::EnTT Jolt protobuf::libprotobuf ${Boost_LIBRARIES} ${LIBDECOR_LIB} Tracy::TracyClient pqxx pq ) add_executable(${PROJECT_NAME} src/server.cpp) target_link_libraries(tw_server PUBLIC tw_server_lib ) ADD_SUBDIRECTORY(./tests/)