1fb80b665dd36b0e255a9ba9c31d1e48ce82e1d2
[reactos.git] / rostests / apitests / ws2_32 / CMakeLists.txt
1
2 list(APPEND SOURCE
3 bind.c
4 getaddrinfo.c
5 getnameinfo.c
6 getservbyname.c
7 getservbyport.c
8 helpers.c
9 ioctlsocket.c
10 nonblocking.c
11 nostartup.c
12 recv.c
13 send.c
14 WSAAsync.c
15 WSAIoctl.c
16 WSARecv.c
17 WSAStartup.c
18 testlist.c)
19
20 add_executable(ws2_32_apitest ${SOURCE})
21 target_link_libraries(ws2_32_apitest wine ${PSEH_LIB})
22 set_module_type(ws2_32_apitest win32cui)
23 add_importlibs(ws2_32_apitest ws2_32 msvcrt iphlpapi kernel32 ntdll)
24 add_rostests_file(TARGET ws2_32_apitest)
25
26 if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
27 add_target_compile_flags(ws2_32_apitest "-Wno-missing-braces")
28 endif()