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