mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
316 B
CMake
16 lines
316 B
CMake
6 years ago
|
set(UTP_SRC
|
||
|
utp_callbacks.cpp
|
||
|
utp_utils.cpp
|
||
|
utp_internal.cpp
|
||
|
utp_api.cpp
|
||
|
utp_packedsockaddr.cpp
|
||
|
utp_hash.cpp
|
||
|
)
|
||
|
|
||
|
if(WIN32)
|
||
|
list(APPEND UTP_SRC libutp_inet_ntop.cpp)
|
||
|
endif(WIN32)
|
||
|
|
||
|
add_library(libutp OBJECT ${UTP_SRC})
|
||
|
target_include_directories(libutp PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CORE_INCLUDE})
|