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