xref: /reactos/dll/cpl/hotplug/CMakeLists.txt (revision 11905780)
1
2spec2def(hotplug.dll hotplug.spec)
3
4list(APPEND SOURCE
5    hotplug.c
6    eject.c
7    enum.c)
8
9file(GLOB hotplug_rc_deps resources/*.*)
10add_rc_deps(hotplug.rc ${hotplug_rc_deps})
11
12add_library(hotplug MODULE
13    ${SOURCE}
14    hotplug.rc
15    ${CMAKE_CURRENT_BINARY_DIR}/hotplug.def)
16
17set_module_type(hotplug win32dll UNICODE)
18add_importlibs(hotplug user32 gdi32 advapi32 setupapi comctl32 msvcrt kernel32 ntdll)
19add_cd_file(TARGET hotplug DESTINATION reactos/system32 FOR all)
20