[QCAP] Import qcap.dll from Wine Staging 3.3. CORE-16350 (#2421)
[reactos.git] / dll / win32 / ws2_32 / CMakeLists.txt
1
2 add_definitions(-DLE)
3 spec2def(ws2_32.dll ws2_32.spec ADD_IMPORTLIB)
4
5 include_directories(
6 inc
7 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/winsock)
8
9 list(APPEND SOURCE
10 src/addrconv.c
11 src/addrinfo.c
12 src/async.c
13 src/bhook.c
14 src/dcatalog.c
15 src/dcatitem.c
16 src/dllmain.c
17 src/dprocess.c
18 src/dprovide.c
19 src/dsocket.c
20 src/dthread.c
21 src/dupsock.c
22 src/enumprot.c
23 src/event.c
24 src/getproto.c
25 src/getxbyxx.c
26 src/ioctl.c
27 src/nscatalo.c
28 src/nscatent.c
29 src/nspinstl.c
30 src/nsprovid.c
31 src/nsquery.c
32 src/qos.c
33 src/qshelpr.c
34 src/rasdial.c
35 src/recv.c
36 src/rnr.c
37 #src/scihlpr.c
38 src/select.c
39 src/send.c
40 src/sockctrl.c
41 src/socklife.c
42 src/spinstal.c
43 src/sputil.c
44 src/startup.c
45 src/wsautil.c
46 inc/ws2_32.h)
47
48 add_library(ws2_32 MODULE
49 ${SOURCE}
50 ws2_32.rc
51 ${CMAKE_CURRENT_BINARY_DIR}/ws2_32.def)
52
53 set_module_type(ws2_32 win32dll)
54 target_link_libraries(ws2_32 ${PSEH_LIB})
55 add_importlibs(ws2_32 user32 advapi32 ws2help msvcrt kernel32 ntdll)
56 add_pch(ws2_32 inc/ws2_32.h SOURCE)
57 add_cd_file(TARGET ws2_32 DESTINATION reactos/system32 FOR all)