mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-29 03:23:09 +01:00
44 lines
817 B
CMake
44 lines
817 B
CMake
include_directories(${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/unix/kasmvncpasswd)
|
|
|
|
set(NETWORK_SOURCES
|
|
GetAPIMessager.cxx
|
|
Blacklist.cxx
|
|
iceip.cxx
|
|
Socket.cxx
|
|
TcpSocket.cxx
|
|
Udp.cxx
|
|
cJSON.c
|
|
jsonescape.c
|
|
websocket.c
|
|
websockify.c
|
|
|
|
webudp/CRC32.cpp
|
|
webudp/WuArena.cpp
|
|
webudp/Wu.cpp
|
|
webudp/WuCrypto.cpp
|
|
webudp/WuHostEpoll.cpp
|
|
webudp/WuNetwork.cpp
|
|
webudp/WuPool.cpp
|
|
webudp/WuQueue.cpp
|
|
webudp/WuRng.cpp
|
|
webudp/WuSctp.cpp
|
|
webudp/WuSdp.cpp
|
|
webudp/WuString.cpp
|
|
webudp/WuStun.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/unix/kasmvncpasswd/kasmpasswd.c)
|
|
|
|
if(NOT WIN32)
|
|
set(NETWORK_SOURCES ${NETWORK_SOURCES} UnixSocket.cxx)
|
|
endif()
|
|
|
|
add_library(network STATIC ${NETWORK_SOURCES})
|
|
|
|
if(WIN32)
|
|
target_link_libraries(network ws2_32)
|
|
endif()
|
|
|
|
if(UNIX)
|
|
libtool_create_control_file(network)
|
|
endif()
|