2012-02-21 15:49:08 +00:00
|
|
|
|
|
|
|
set_cpp()
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2012-02-28 22:09:57 +00:00
|
|
|
include_directories(
|
|
|
|
${REACTOS_SOURCE_DIR}/lib/drivers/libusb)
|
|
|
|
|
2012-03-10 20:16:56 +00:00
|
|
|
list(APPEND SOURCE
|
2012-02-21 15:49:08 +00:00
|
|
|
usbuhci.cpp
|
|
|
|
usb_request.cpp
|
|
|
|
usb_queue.cpp
|
2014-01-03 19:20:35 +00:00
|
|
|
hardware.cpp
|
|
|
|
guid.cpp)
|
2012-03-10 20:16:56 +00:00
|
|
|
|
|
|
|
add_library(usbuhci SHARED
|
|
|
|
${SOURCE}
|
2012-02-21 15:49:08 +00:00
|
|
|
usbuhci.rc)
|
|
|
|
|
|
|
|
target_link_libraries(usbuhci
|
2012-02-28 22:09:57 +00:00
|
|
|
libusb
|
2012-02-21 15:49:08 +00:00
|
|
|
libcntpr
|
|
|
|
${PSEH_LIB})
|
|
|
|
|
|
|
|
set_module_type(usbuhci kernelmodedriver)
|
|
|
|
add_importlibs(usbuhci ntoskrnl hal usbd)
|
|
|
|
|
|
|
|
add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|