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