aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Net/CMakeLists.txt
blob: a19b1d89d25ac1a2f83285032b8a082f7c8006e6 (plain) (blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.



add_library(libs-poco-Net)
target_compile_options(libs-poco-Net PRIVATE
  -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4
  -DPOCO_HAVE_FD_EPOLL
)
target_include_directories(libs-poco-Net PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
)
target_include_directories(libs-poco-Net PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src
)
target_link_libraries(libs-poco-Net PUBLIC
  contrib-libs-cxxsupp
  libs-poco-Foundation
)
target_sources(libs-poco-Net PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/AbstractHTTPRequestHandler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DNS.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DialogSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPClientSession.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPStreamFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FilePartSource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTMLForm.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPAuthenticationParams.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBasicCredentials.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBufferAllocator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPChunkedStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPClientSession.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCookie.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCredentials.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPDigestCredentials.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPFixedLengthStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPHeaderStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPIOStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPMessage.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequest.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandlerFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPResponse.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnection.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnectionFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerParams.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequest.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequestImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponse.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponseImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerSession.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSession.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionInstantiator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStreamFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HostEntry.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPClient.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPEventArgs.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPv4PacketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddress.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddressImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailMessage.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailRecipient.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MediaType.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MessageHeader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MulticastSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartReader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPClient.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPEventArgs.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPPacket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NameValueCollection.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Net.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetException.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetworkInterface.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NullPartHandler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth10Credentials.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth20Credentials.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/POP3ClientSession.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartHandler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartSource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartStore.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PollSet.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableDecoder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableEncoder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogChannel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogListener.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPChannel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPClientSession.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Socket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddress.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddressImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotification.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotifier.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketReactor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocketImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StringPartSource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnection.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnectionFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerDispatcher.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerParams.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocketImpl.cpp
)