[DELAYIMP] Fix 2 Clang-Cl warnings about __pfnDliNotifyHook2Default and __pfnDliFailu...
[reactos.git] / sdk / lib / drivers / libusb / CMakeLists.txt
1
2 set_cpp()
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 add_definitions(-DUNICODE -D_UNICODE)
8
9 list(APPEND SOURCE
10 hcd_controller.cpp
11 hub_controller.cpp
12 memory_manager.cpp
13 misc.cpp
14 usb_device.cpp
15 purecall.cpp
16 libusb.cpp
17 libusb.h)
18
19 add_library(libusb ${SOURCE})
20 add_dependencies(libusb bugcodes xdk)
21 add_pch(libusb libusb.h SOURCE)