[CMAKE]
[reactos.git] / dll / win32 / ws2_32_new / CMakeLists.txt
1
2 add_definitions(-DLE)
3
4 include_directories(inc)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
6
7 spec2def(ws2_32_new ${CMAKE_CURRENT_SOURCE_DIR}/ws2_32.spec ${CMAKE_CURRENT_BINARY_DIR}/ws2_32_new.def)
8
9 add_library(ws2_32_new SHARED
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 ws2_32.rc)
47
48 set_module_type(ws2_32_new win32dll)
49
50 target_link_libraries(ws2_32_new
51 ${CMAKE_CURRENT_BINARY_DIR}/ws2_32_new.def
52 wine)
53
54 add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help kernel32 ntdll)
55
56 add_cab_target(ws2_32_new 1)