1 2add_definitions(-DDEBUG_MODE) 3add_definitions(-DNTDDI_VERSION=0x05020400) 4include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include) 5 6list(APPEND SOURCE 7 fdo.c 8 hub_fdo.c 9 misc.c 10 pdo.c 11 usbhub.c 12 usbhub.h) 13 14add_library(usbhub SHARED 15 ${SOURCE} 16 guid.c 17 usbhub.rc) 18 19target_link_libraries(usbhub ${PSEH_LIB}) 20set_module_type(usbhub kernelmodedriver) 21add_importlibs(usbhub ntoskrnl hal usbd) 22add_pch(usbhub usbhub.h SOURCE) 23add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all) 24