add_library(session_manager
    session_utils.c
    session_pool.c
    session_table.c
    session_timer.c
    session_filter.c
    session_manager.c
    session_transition.c
)
target_include_directories(session_manager PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(session_manager PUBLIC ${CMAKE_SOURCE_DIR}/infra/core)
target_include_directories(session_manager PUBLIC ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(session_manager timeout packet_parser tcp_reassembly)

add_subdirectory(test)