2017-06-28 23:23:01 +00:00
|
|
|
|
|
|
|
add_definitions(-DDEBUG_MODE)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
debug.c
|
|
|
|
ioctl.c
|
|
|
|
pnp.c
|
|
|
|
power.c
|
2020-05-09 21:37:40 +00:00
|
|
|
usbhub.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2017-06-28 23:23:01 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(usbhub MODULE
|
2017-06-28 23:23:01 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2017-06-28 23:23:01 +00:00
|
|
|
usbhub.rc)
|
|
|
|
|
|
|
|
target_link_libraries(usbhub ${PSEH_LIB})
|
|
|
|
set_module_type(usbhub kernelmodedriver)
|
|
|
|
add_importlibs(usbhub ntoskrnl hal wmilib usbd)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(usbhub usbhub.h "${PCH_SKIP_SOURCE}")
|
2017-06-28 23:23:01 +00:00
|
|
|
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
|