[USBHUB_NEW] Bring-in the USB Hub driver created by Vadim Galyant. GitHub PR #29...
[reactos.git] / reactos / drivers / usb / usbhub_new / CMakeLists.txt
1
2 add_definitions(-DDEBUG_MODE)
3 include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
4
5 list(APPEND SOURCE
6 debug.c
7 ioctl.c
8 pnp.c
9 power.c
10 usbhub.c
11 usbhub.h)
12
13 add_library(usbhub SHARED
14 ${SOURCE}
15 guid.c
16 usbhub.rc)
17
18 target_link_libraries(usbhub ${PSEH_LIB})
19 set_module_type(usbhub kernelmodedriver)
20 add_importlibs(usbhub ntoskrnl hal wmilib usbd)
21 add_pch(usbhub usbhub.h SOURCE)
22 add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)