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