1
2list(APPEND SOURCE
3    bind.c
4    close.c
5    getaddrinfo.c
6    gethostname.c
7    getnameinfo.c
8    getservbyname.c
9    getservbyport.c
10    helpers.c
11    ioctlsocket.c
12    nonblocking.c
13    nostartup.c
14    open_osfhandle.c
15    recv.c
16    send.c
17    WSAAsync.c
18    WSAIoctl.c
19    WSARecv.c
20    WSAStartup.c)
21
22list(APPEND PCH_SKIP_SOURCE
23    testlist.c)
24
25add_executable(ws2_32_apitest
26    ${SOURCE}
27    ${PCH_SKIP_SOURCE})
28
29target_link_libraries(ws2_32_apitest wine ${PSEH_LIB})
30set_module_type(ws2_32_apitest win32cui)
31add_importlibs(ws2_32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
32add_pch(ws2_32_apitest ws2_32.h "${PCH_SKIP_SOURCE}")
33add_rostests_file(TARGET ws2_32_apitest)
34