[MSWSOCK]
[reactos.git] / reactos / dll / win32 / mswsock / CMakeLists.txt
1
2 add_definitions(-DLE)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(mswsock.dll mswsock.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 extensions.c
8 mswhelper.c
9 nsplookup.c
10 stubs.c
11 precomp.h)
12
13 add_library(mswsock SHARED
14 ${SOURCE}
15 mswsock.rc
16 ${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
17
18 set_module_type(mswsock win32dll UNICODE)
19 add_importlibs(mswsock ws2_32 advapi32 dnsapi msvcrt kernel32 ntdll)
20 add_pch(mswsock precomp.h SOURCE)
21 add_cd_file(TARGET mswsock DESTINATION reactos/system32 FOR all)