1 2add_definitions(-DDEBUG_MODE) 3include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include) 4 5list(APPEND SOURCE 6 debug.c 7 ioctl.c 8 pnp.c 9 power.c 10 usbhub.c 11 usbhub.h) 12 13add_library(usbhub MODULE 14 ${SOURCE} 15 guid.c 16 usbhub.rc) 17 18target_link_libraries(usbhub ${PSEH_LIB}) 19set_module_type(usbhub kernelmodedriver) 20add_importlibs(usbhub ntoskrnl hal wmilib usbd) 21add_pch(usbhub usbhub.h SOURCE) 22add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all) 23