2017-06-16 19:20:03 +00:00
|
|
|
|
|
|
|
spec2def(usbport.sys usbport.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
debug.c
|
|
|
|
device.c
|
|
|
|
endpoint.c
|
|
|
|
iface.c
|
|
|
|
ioctl.c
|
2017-09-02 22:48:45 +00:00
|
|
|
iso.c
|
2017-06-16 19:20:03 +00:00
|
|
|
pnp.c
|
|
|
|
power.c
|
|
|
|
queue.c
|
|
|
|
roothub.c
|
2017-09-08 07:17:34 +00:00
|
|
|
trfsplit.c
|
2017-06-16 19:20:03 +00:00
|
|
|
urb.c
|
|
|
|
usb2.c
|
2020-05-09 21:37:40 +00:00
|
|
|
usbport.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2017-06-16 19:20:03 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(usbport MODULE
|
2017-06-16 19:20:03 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2017-06-16 19:20:03 +00:00
|
|
|
usbport.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/usbport.def)
|
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(usbport usbport.h "${PCH_SKIP_SOURCE}")
|
2017-06-16 19:20:03 +00:00
|
|
|
set_module_type(usbport kernelmodedriver)
|
|
|
|
add_importlibs(usbport ntoskrnl hal)
|
|
|
|
add_cd_file(TARGET usbport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|