xref: /reactos/drivers/usb/usbuhci/CMakeLists.txt (revision c2c66aff)
1
2set_cpp()
3
4remove_definitions(-D_WIN32_WINNT=0x502)
5add_definitions(-D_WIN32_WINNT=0x600)
6
7include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/drivers/libusb)
8
9list(APPEND SOURCE
10    usbuhci.cpp
11    usb_request.cpp
12    usb_queue.cpp
13    hardware.cpp
14    usbuhci.h)
15
16add_library(usbuhci SHARED
17    ${SOURCE}
18    guid.cpp
19    usbuhci.rc)
20
21target_link_libraries(usbuhci uuid libusb libcntpr ${PSEH_LIB})
22set_module_type(usbuhci kernelmodedriver)
23add_importlibs(usbuhci ntoskrnl hal usbd)
24add_pch(usbuhci usbuhci.h SOURCE)
25add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)
26