[DRIVERS]
[reactos.git] / reactos / drivers / usb / usbehci / 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(${REACTOS_SOURCE_DIR}/lib/drivers/libusb)
8
9 list(APPEND SOURCE
10 usbehci.cpp
11 usb_request.cpp
12 usb_queue.cpp
13 hardware.cpp
14 usbehci.h)
15
16 add_library(usbehci SHARED
17 ${SOURCE}
18 guid.cpp
19 usbehci.rc)
20
21 target_link_libraries(usbehci
22 uuid
23 libusb
24 libcntpr
25 ${PSEH_LIB})
26
27 set_module_type(usbehci kernelmodedriver)
28 add_importlibs(usbehci ntoskrnl hal usbd)
29 add_pch(usbehci usbehci.h SOURCE)
30 add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)