mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-09-30 22:33:57 +00:00
Rename the project to shadowsocks-c while retaining ss-* commands, the embedding ABI, and legacy library/package lookup compatibility.
Replace libev with bundled libuv for IOCP/kqueue event backends, expand asynchronous runtime DNS coverage, and add actionlint/Ruff with strict clang-tidy failure handling. Validate native platforms, static builds, packaging, interoperability, sanitizers, and canonical/legacy consumers.
All 22 hosted checks pass at reviewed head a8493250eb.
7 lines
315 B
CMake
7 lines
315 B
CMake
add_library(ss_ev STATIC ${PROJECT_SOURCE_DIR}/src/ss_event.c)
|
|
target_include_directories(ss_ev PUBLIC ${PROJECT_SOURCE_DIR}/src)
|
|
target_link_libraries(ss_ev PUBLIC ss_uv Threads::Threads ${SS_MATH_LIBRARY} ${CMAKE_DL_LIBS})
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
target_link_libraries(ss_ev PUBLIC rt)
|
|
endif()
|