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