xref: /reactos/drivers/usb/usbohci/CMakeLists.txt (revision 62919904)
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    usbohci.cpp
11    usb_request.cpp
12    usb_queue.cpp
13    hardware.cpp
14    usbohci.h)
15
16add_library(usbohci MODULE
17    ${SOURCE}
18    guid.cpp
19    usbohci.rc)
20
21target_link_libraries(usbohci uuid libusb libcntpr ${PSEH_LIB})
22set_module_type(usbohci kernelmodedriver)
23add_importlibs(usbohci ntoskrnl hal usbd)
24add_pch(usbohci usbohci.h SOURCE)
25add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
26