2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-DLE)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(ws2_32.dll ws2_32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-09-20 16:51:28 +00:00
|
|
|
include_directories(
|
|
|
|
inc
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/winsock)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
2016-09-20 16:51:28 +00:00
|
|
|
src/addrconv.c
|
|
|
|
src/addrinfo.c
|
|
|
|
src/async.c
|
|
|
|
src/bhook.c
|
|
|
|
src/dcatalog.c
|
|
|
|
src/dcatitem.c
|
|
|
|
src/dllmain.c
|
|
|
|
src/dprocess.c
|
|
|
|
src/dprovide.c
|
|
|
|
src/dsocket.c
|
|
|
|
src/dthread.c
|
|
|
|
src/dupsock.c
|
|
|
|
src/enumprot.c
|
|
|
|
src/event.c
|
|
|
|
src/getproto.c
|
|
|
|
src/getxbyxx.c
|
|
|
|
src/ioctl.c
|
|
|
|
src/nscatalo.c
|
|
|
|
src/nscatent.c
|
|
|
|
src/nspinstl.c
|
|
|
|
src/nsprovid.c
|
|
|
|
src/nsquery.c
|
|
|
|
src/qos.c
|
|
|
|
src/qshelpr.c
|
|
|
|
src/rasdial.c
|
|
|
|
src/recv.c
|
|
|
|
src/rnr.c
|
|
|
|
#src/scihlpr.c
|
|
|
|
src/select.c
|
|
|
|
src/send.c
|
|
|
|
src/sockctrl.c
|
|
|
|
src/socklife.c
|
|
|
|
src/spinstal.c
|
|
|
|
src/sputil.c
|
|
|
|
src/startup.c
|
|
|
|
src/wsautil.c
|
|
|
|
inc/ws2_32.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(ws2_32 SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
ws2_32.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/ws2_32.def)
|
|
|
|
|
2016-09-20 16:51:28 +00:00
|
|
|
set_module_type(ws2_32 win32dll)
|
|
|
|
target_link_libraries(ws2_32 ${PSEH_LIB})
|
|
|
|
add_importlibs(ws2_32 user32 advapi32 ws2help msvcrt kernel32 ntdll)
|
|
|
|
add_pch(ws2_32 inc/ws2_32.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET ws2_32 DESTINATION reactos/system32 FOR all)
|