2010-12-22 16:33:37 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2017-05-25 14:43:57 +00:00
|
|
|
bind.c
|
2017-05-26 14:02:25 +00:00
|
|
|
close.c
|
2012-06-23 12:40:36 +00:00
|
|
|
getaddrinfo.c
|
2019-06-08 22:39:05 +00:00
|
|
|
gethostname.c
|
2016-10-05 09:33:03 +00:00
|
|
|
getnameinfo.c
|
2016-04-05 12:44:16 +00:00
|
|
|
getservbyname.c
|
2016-04-05 12:20:47 +00:00
|
|
|
getservbyport.c
|
2010-12-22 16:33:37 +00:00
|
|
|
helpers.c
|
|
|
|
ioctlsocket.c
|
2016-11-10 15:13:19 +00:00
|
|
|
nonblocking.c
|
2014-10-03 09:00:15 +00:00
|
|
|
nostartup.c
|
2018-03-19 21:34:45 +00:00
|
|
|
open_osfhandle.c
|
2010-12-22 16:33:37 +00:00
|
|
|
recv.c
|
2015-06-13 12:29:07 +00:00
|
|
|
send.c
|
2016-10-28 07:01:16 +00:00
|
|
|
WSAAsync.c
|
2016-10-21 16:47:38 +00:00
|
|
|
WSAIoctl.c
|
2016-10-11 10:48:47 +00:00
|
|
|
WSARecv.c
|
2020-05-09 21:37:40 +00:00
|
|
|
WSAStartup.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
add_executable(ws2_32_apitest
|
|
|
|
${SOURCE}
|
|
|
|
${PCH_SKIP_SOURCE})
|
2010-12-22 16:33:37 +00:00
|
|
|
|
2012-06-23 12:40:36 +00:00
|
|
|
target_link_libraries(ws2_32_apitest wine ${PSEH_LIB})
|
2010-12-22 16:33:37 +00:00
|
|
|
set_module_type(ws2_32_apitest win32cui)
|
2019-06-08 22:39:05 +00:00
|
|
|
add_importlibs(ws2_32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(ws2_32_apitest ws2_32.h "${PCH_SKIP_SOURCE}")
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET ws2_32_apitest)
|