1 2spec2def(newdev.dll newdev.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 newdev.c 6 stubs.c 7 wizard.c 8 newdev_private.h 9 ${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c) 10 11add_library(newdev MODULE 12 ${SOURCE} 13 newdev.rc 14 ${CMAKE_CURRENT_BINARY_DIR}/newdev.def) 15 16set_module_type(newdev win32dll UNICODE) 17target_link_libraries(newdev wine) 18add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 shlwapi ole32 msvcrt kernel32 ntdll) 19add_pch(newdev newdev_private.h SOURCE) 20add_cd_file(TARGET newdev DESTINATION reactos/system32 FOR all) 21