1 2spec2def(hotplug.dll hotplug.spec) 3 4list(APPEND SOURCE 5 hotplug.c 6 enum.c) 7 8add_library(hotplug SHARED 9 ${SOURCE} 10 hotplug.rc 11 ${CMAKE_CURRENT_BINARY_DIR}/hotplug.def) 12 13set_module_type(hotplug win32dll UNICODE) 14add_importlibs(hotplug user32 gdi32 advapi32 setupapi comctl32 msvcrt kernel32 ntdll) 15add_cd_file(TARGET hotplug DESTINATION reactos/system32 FOR all) 16