blob: 5bce174e2c58c22ee457794c4b99c4d5a68e4d8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
project(NetEx)
add_library(
NetEx
STATIC
HttpClient.cpp
HttpServer.cpp
HttpServlet.cpp
HttpServletExec.cpp
NetAddr.cpp
NetClient.cpp
NetGram.cpp
NetHost.cpp
NetLayer.cpp
NetLink.cpp
NetMsg.cpp
NetPeer.cpp
NetServer.cpp
NetSock.cpp
)
target_include_directories(
NetEx
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
)
target_link_libraries(
NetEx
PUBLIC FoundationEx
)
if(MSVC)
target_include_directories(
NetEx
PUBLIC ${WINDOWSSDK_PATH}/um
PUBLIC ${WINDOWSSDK_PATH}/shared
)
endif()
|