2013-06-22 14:44:56 +00:00
|
|
|
|
2012-02-28 15:01:27 +00:00
|
|
|
set_cpp()
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
2012-02-28 15:01:27 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
hcd_controller.cpp
|
|
|
|
hub_controller.cpp
|
|
|
|
memory_manager.cpp
|
|
|
|
misc.cpp
|
|
|
|
usb_device.cpp
|
|
|
|
purecall.cpp
|
2014-02-09 21:43:42 +00:00
|
|
|
libusb.cpp
|
|
|
|
libusb.h)
|
2012-02-28 15:01:27 +00:00
|
|
|
|
|
|
|
add_library(libusb ${SOURCE})
|
2015-09-07 10:05:42 +00:00
|
|
|
add_dependencies(libusb bugcodes xdk)
|
2014-02-09 21:43:42 +00:00
|
|
|
add_pch(libusb libusb.h SOURCE)
|