[NTOS:KE/x64] Handle NMI vs swapgs race condition
[reactos.git] / drivers / usb / usbhub / 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
12 list(APPEND PCH_SKIP_SOURCE
13 guid.c)
14
15 add_library(usbhub MODULE
16 ${SOURCE}
17 ${PCH_SKIP_SOURCE}
18 usbhub.rc)
19
20 target_link_libraries(usbhub ${PSEH_LIB})
21 set_module_type(usbhub kernelmodedriver)
22 add_importlibs(usbhub ntoskrnl hal wmilib usbd)
23 add_pch(usbhub usbhub.h "${PCH_SKIP_SOURCE}")
24 add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)