blob: 62ad9c4757986e2996873bfd5d1318e44858fe75 (
plain) (
tree)
|
|
SET (SRCS
CriticalSection.cpp
Errors.cpp
Event.cpp
File.cpp
GZipFile.cpp
HostnameLookup.cpp
IPLookup.cpp
IsThread.cpp
NetworkInterfaceEnum.cpp
NetworkLookup.cpp
NetworkSingleton.cpp
ServerHandleImpl.cpp
StackTrace.cpp
TCPLinkImpl.cpp
UDPEndpointImpl.cpp
WinStackWalker.cpp
)
SET (HDRS
AtomicUniquePtr.h
CriticalSection.h
Errors.h
Event.h
File.h
GetAddressInfoError.h
GZipFile.h
HostnameLookup.h
IPLookup.h
IsThread.h
Network.h
NetworkLookup.h
NetworkSingleton.h
Queue.h
ServerHandleImpl.h
StackTrace.h
TCPLinkImpl.h
UDPEndpointImpl.h
WinStackWalker.h
)
if(NOT MSVC)
add_library(OSSupport ${SRCS} ${HDRS})
target_link_libraries(OSSupport fmt::fmt)
if(NOT WIN32)
target_link_libraries(OSSupport event_pthreads_static)
endif()
endif()
|