2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-DLE)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(mswsock.dll mswsock.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
extensions.c
|
2016-09-18 21:21:28 +00:00
|
|
|
mswhelper.c
|
|
|
|
nsplookup.c
|
2011-05-16 13:12:07 +00:00
|
|
|
stubs.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h)
|
|
|
|
|
|
|
|
add_library(mswsock SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
mswsock.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
|
|
|
|
|
2016-09-30 15:19:29 +00:00
|
|
|
set_module_type(mswsock win32dll UNICODE)
|
2017-02-20 19:32:12 +00:00
|
|
|
add_importlibs(mswsock ws2_32 advapi32 dnsapi msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(mswsock precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mswsock DESTINATION reactos/system32 FOR all)
|