mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 21:34:17 +00:00
009b2e00df
- Create empty USB EHCI driver in c++ - Design & review the interfaces with mjmartin - Create stubs for creating IUSBHardwareDevice / IHCDController classes - Implement DriverEntry, EHCI_AddDevice and EHCI_Dispatch svn path=/branches/usb-bringup/; revision=51335
28 lines
603 B
CMake
28 lines
603 B
CMake
|
|
set_cpp()
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_library(usbehci SHARED
|
|
usbehci.cpp
|
|
hcd_controller.cpp
|
|
hardware.cpp
|
|
usbehci.rc)
|
|
|
|
target_link_libraries(usbehci
|
|
libcntpr
|
|
stlport
|
|
${PSEH_LIB})
|
|
|
|
if(MSVC)
|
|
set_target_properties(usbehci PROPERTIES COMPILE_FLAGS "/GR-")
|
|
else()
|
|
target_link_libraries(usbehci -lgcc)
|
|
set_target_properties(usbehci PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
endif(MSVC)
|
|
|
|
set_module_type(usbehci kernelmodedriver)
|
|
add_importlibs(usbehci ntoskrnl ks drmk hal)
|
|
|
|
add_cab_target(usbehci 2) |