[DRIVERS]
[reactos.git] / reactos / drivers / usb / usbuhci / CMakeLists.txt
1
2 set_cpp()
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(
8 ${REACTOS_SOURCE_DIR}/lib/drivers/libusb)
9
10 list(APPEND SOURCE
11 usbuhci.cpp
12 usb_request.cpp
13 usb_queue.cpp
14 hardware.cpp
15 usbuhci.h)
16
17 add_library(usbuhci SHARED
18 ${SOURCE}
19 guid.cpp
20 usbuhci.rc)
21
22 target_link_libraries(usbuhci
23 uuid
24 libusb
25 libcntpr
26 ${PSEH_LIB})
27
28 set_module_type(usbuhci kernelmodedriver)
29 add_importlibs(usbuhci ntoskrnl hal usbd)
30 add_pch(usbuhci usbuhci.h SOURCE)
31 add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)