1 2spec2def(netplwiz.dll netplwiz.spec) 3 4list(APPEND SOURCE 5 netplwiz.c 6 SHDisconnectNetDrives.c) 7 8add_library(netplwiz MODULE 9 ${SOURCE} 10 netplwiz.rc 11 ${CMAKE_CURRENT_BINARY_DIR}/netplwiz_stubs.c 12 ${CMAKE_CURRENT_BINARY_DIR}/netplwiz.def) 13 14set_module_type(netplwiz win32dll UNICODE) 15target_link_libraries(netplwiz wine) 16add_importlibs(netplwiz comctl32 mpr ole32 user32 msvcrt kernel32 ntdll) 17add_cd_file(TARGET netplwiz DESTINATION reactos/system32 FOR all) 18