e37477eaadb63c8f213edad535c58842ab0b635b
[reactos.git] / reactos / drivers / usb / usbport / CMakeLists.txt
1
2 spec2def(usbport.sys usbport.spec ADD_IMPORTLIB)
3
4 list(APPEND SOURCE
5 debug.c
6 device.c
7 endpoint.c
8 iface.c
9 ioctl.c
10 pnp.c
11 power.c
12 queue.c
13 roothub.c
14 urb.c
15 usb2.c
16 usbport.c
17 usbport.h)
18
19 add_library(usbport SHARED
20 ${SOURCE}
21 guid.c
22 usbport.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/usbport.def)
24
25 add_pch(usbport usbport.h SOURCE)
26 set_module_type(usbport kernelmodedriver)
27 add_importlibs(usbport ntoskrnl hal)
28 add_cd_file(TARGET usbport DESTINATION reactos/system32/drivers NO_CAB FOR all)