reactos/dll/win32/ws2_32_new/CMakeLists.txt
Amine Khaldi 7f773550af [CMAKE]
- Add wlanapi, wldap32, ws2_32(_new) and drmk to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48957
2010-10-01 21:52:15 +00:00

55 lines
1.1 KiB
CMake

add_definitions(-DLE)
include_directories(inc)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
spec2def(ws2_32_new ${CMAKE_CURRENT_SOURCE_DIR}/ws2_32.spec ${CMAKE_CURRENT_BINARY_DIR}/ws2_32_new.def)
add_library(ws2_32_new SHARED
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
ws2_32.rc)
set_module_type(ws2_32_new win32dll)
target_link_libraries(ws2_32_new
${CMAKE_CURRENT_BINARY_DIR}/ws2_32_new.def
wine)
add_importlibs(ws2_32_new ntdll user32 advapi32 dnsapi ws2help)
add_dependencies(ws2_32_new ws2_32_new_def psdk)