2011-04-14 11:35:16 +00:00
|
|
|
|
|
|
|
set_cpp()
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2012-03-10 20:16:56 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/libusb)
|
2012-02-28 15:13:30 +00:00
|
|
|
|
2012-03-10 20:16:56 +00:00
|
|
|
list(APPEND SOURCE
|
2011-04-14 11:35:16 +00:00
|
|
|
usbehci.cpp
|
2011-04-19 01:21:10 +00:00
|
|
|
usb_request.cpp
|
2011-04-17 22:06:20 +00:00
|
|
|
usb_queue.cpp
|
2014-01-03 17:23:55 +00:00
|
|
|
hardware.cpp
|
|
|
|
guid.cpp)
|
2012-03-10 20:16:56 +00:00
|
|
|
|
|
|
|
add_library(usbehci SHARED
|
|
|
|
${SOURCE}
|
2011-04-14 11:35:16 +00:00
|
|
|
usbehci.rc)
|
|
|
|
|
|
|
|
target_link_libraries(usbehci
|
2012-02-28 15:13:30 +00:00
|
|
|
libusb
|
2011-04-14 11:35:16 +00:00
|
|
|
libcntpr
|
|
|
|
${PSEH_LIB})
|
|
|
|
|
|
|
|
set_module_type(usbehci kernelmodedriver)
|
2012-02-28 10:29:37 +00:00
|
|
|
add_importlibs(usbehci ntoskrnl hal usbd)
|
2012-01-20 22:04:57 +00:00
|
|
|
|
2012-09-05 21:39:43 +00:00
|
|
|
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|