1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/winsock) 3spec2def(ws2help.dll ws2help.spec ADD_IMPORTLIB) 4 5list(APPEND SOURCE 6 apc.c 7 context.c 8 dllmain.c 9 handle.c 10 notify.c 11 precomp.h) 12 13add_library(ws2help MODULE 14 ${SOURCE} 15 ${CMAKE_CURRENT_BINARY_DIR}/ws2help.def) 16 17set_module_type(ws2help win32dll) 18add_importlibs(ws2help advapi32 ws2_32 msvcrt kernel32 ntdll) 19add_pch(ws2help precomp.h SOURCE) 20add_cd_file(TARGET ws2help DESTINATION reactos/system32 FOR all) 21