dcacd91b322a7d70a3a01964014d7c1b600c0423
[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 libusb
22 libcntpr
23 ${PSEH_LIB})
24
25 set_module_type(usbohci kernelmodedriver)
26 add_importlibs(usbohci ntoskrnl hal usbd)
27
28 add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)