xref: /reactos/drivers/usb/usbhub/CMakeLists.txt (revision 7d2f6b65)
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
12list(APPEND PCH_SKIP_SOURCE
13    guid.c)
14
15add_library(usbhub MODULE
16    ${SOURCE}
17    ${PCH_SKIP_SOURCE}
18    usbhub.rc)
19
20target_link_libraries(usbhub ${PSEH_LIB})
21set_module_type(usbhub kernelmodedriver)
22add_importlibs(usbhub ntoskrnl hal wmilib usbd)
23add_pch(usbhub usbhub.h "${PCH_SKIP_SOURCE}")
24add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
25