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