2011-05-22 19:36:13 +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 18:54:30 +00:00
|
|
|
|
2012-03-10 20:16:56 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-22 19:36:13 +00:00
|
|
|
usbohci.cpp
|
|
|
|
usb_request.cpp
|
|
|
|
usb_queue.cpp
|
2014-01-03 18:33:25 +00:00
|
|
|
hardware.cpp
|
2014-02-09 17:28:01 +00:00
|
|
|
usbohci.h)
|
2012-03-10 20:16:56 +00:00
|
|
|
|
|
|
|
add_library(usbohci SHARED
|
|
|
|
${SOURCE}
|
2014-02-09 17:28:01 +00:00
|
|
|
guid.cpp
|
2011-05-22 19:36:13 +00:00
|
|
|
usbohci.rc)
|
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
target_link_libraries(usbohci uuid libusb libcntpr ${PSEH_LIB})
|
2011-05-22 19:36:13 +00:00
|
|
|
set_module_type(usbohci kernelmodedriver)
|
2012-01-29 23:11:21 +00:00
|
|
|
add_importlibs(usbohci ntoskrnl hal usbd)
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(usbohci usbohci.h SOURCE)
|
2012-03-10 20:16:56 +00:00
|
|
|
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|