mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 07:00:19 +00:00
ddb3d908c9
svn path=/branches/shell-experiments/; revision=62286
58 lines
1.2 KiB
CMake
58 lines
1.2 KiB
CMake
|
|
add_definitions(-DLE)
|
|
|
|
include_directories(
|
|
inc
|
|
${REACTOS_SOURCE_DIR}/include/reactos/winsock)
|
|
|
|
spec2def(ws2_32_new.dll ws2_32.spec)
|
|
|
|
list(APPEND SOURCE
|
|
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)
|
|
|
|
add_library(ws2_32_new SHARED
|
|
${SOURCE}
|
|
ws2_32.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ws2_32_new.def)
|
|
|
|
set_module_type(ws2_32_new win32dll)
|
|
add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
|
|
add_pch(ws2_32_new inc/ws2_32.h SOURCE)
|
|
target_link_libraries(ws2_32_new wine)
|
|
add_cd_file(TARGET ws2_32_new DESTINATION reactos/system32 FOR all)
|