1 2spec2def(wsock32.dll wsock32.spec) 3add_library(wsock32 MODULE stubs.c wsock32.rc ${CMAKE_CURRENT_BINARY_DIR}/wsock32.def) 4set_module_type(wsock32 win32dll UNICODE) 5add_importlibs(wsock32 mswsock ws2_32 msvcrt kernel32 ntdll) 6add_cd_file(TARGET wsock32 DESTINATION reactos/system32 FOR all) 7