TSG-14829 io_uring支持触发事件,适配mrzcpd的epoll_wait功能
This commit is contained in:
@@ -1,11 +1,20 @@
|
||||
add_library(
|
||||
common src/tfe_utils.cpp src/tfe_types.cpp src/tfe_future.cpp src/tfe_http.cpp src/tfe_plugin.cpp
|
||||
src/tfe_rpc.cpp src/tfe_cmsg.cpp src/tfe_kafka_logger.cpp src/tfe_resource.cpp src/tfe_scan.cpp
|
||||
src/tfe_pkt_util.cpp src/tfe_tcp_restore.cpp src/raw_socket.cpp src/packet_construct.cpp)
|
||||
src/tfe_pkt_util.cpp src/tfe_tcp_restore.cpp src/raw_socket.cpp src/packet_construct.cpp
|
||||
src/tap.cpp src/io_uring.cpp)
|
||||
target_include_directories(common PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
target_link_libraries(common PUBLIC libevent-static libevent-static-openssl libevent-static-pthreads rdkafka)
|
||||
target_link_libraries(common PUBLIC MESA_handle_logger cjson)
|
||||
|
||||
if (SUPPORT_BPF)
|
||||
target_link_libraries(common PUBLIC bpf)
|
||||
endif()
|
||||
|
||||
if (SUPPORT_LIBURING)
|
||||
target_link_libraries(common PUBLIC uring)
|
||||
endif()
|
||||
|
||||
### UNITTEST CASE
|
||||
add_executable(test-addr test/test_addr.cpp src/tfe_types.cpp src/tfe_utils.cpp)
|
||||
target_include_directories(test-addr PRIVATE include)
|
||||
|
||||
Reference in New Issue
Block a user