2013-02-17 15:51:07 +00:00
|
|
|
|
|
|
|
spec2def(hotplug.dll hotplug.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
hotplug.c
|
2014-10-17 23:28:29 +00:00
|
|
|
enum.c)
|
|
|
|
|
2020-03-29 22:37:45 +00:00
|
|
|
file(GLOB hotplug_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(hotplug.rc ${hotplug_rc_deps})
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(hotplug MODULE
|
2014-10-17 23:28:29 +00:00
|
|
|
${SOURCE}
|
2013-02-17 15:51:07 +00:00
|
|
|
hotplug.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/hotplug.def)
|
|
|
|
|
|
|
|
set_module_type(hotplug win32dll UNICODE)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(hotplug user32 gdi32 advapi32 setupapi comctl32 msvcrt kernel32 ntdll)
|
2013-02-17 15:51:07 +00:00
|
|
|
add_cd_file(TARGET hotplug DESTINATION reactos/system32 FOR all)
|