1 2spec2def(hdwwiz.cpl hdwwiz.spec) 3file(GLOB hdwwiz_rc_deps resources/*.*) 4add_rc_deps(hdwwiz.rc ${hdwwiz_rc_deps}) 5 6add_library(hdwwiz MODULE 7 hdwwiz.c 8 hdwwiz.rc 9 ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def) 10 11set_module_type(hdwwiz cpl UNICODE) 12add_importlibs(hdwwiz setupapi advapi32 comctl32 rpcrt4 user32 gdi32 devmgr msvcrt kernel32 ntdll) 13add_cd_file(TARGET hdwwiz DESTINATION reactos/system32 FOR all) 14