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 ws2_32.h) 22 23add_executable(ws2_32_apitest ${SOURCE} testlist.c) 24target_link_libraries(ws2_32_apitest wine ${PSEH_LIB}) 25set_module_type(ws2_32_apitest win32cui) 26add_importlibs(ws2_32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll) 27add_pch(ws2_32_apitest ws2_32.h SOURCE) 28add_rostests_file(TARGET ws2_32_apitest) 29