blob: 13dadc271b9121b92031292e5bb0facb24a07b70 (
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
35
36
37
38
|
project(NetEx)
add_library(
NetEx
STATIC
HttpClient.cpp
HttpParam.cpp
HttpRequest.cpp
HttpResponse.cpp
HttpServer.cpp
HttpServlet.cpp
HttpServletExec.cpp
HttpSession.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()
|