mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 11:46:50 +00:00
[CMAKE]
- Add USB modules to build. svn path=/branches/cmake-bringup/; revision=51299
This commit is contained in:
parent
0c5fa99762
commit
2a1f050cb3
5 changed files with 50 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
|
||||
add_subdirectory(nt4compat)
|
||||
add_subdirectory(usbd)
|
||||
add_subdirectory(usbehci)
|
||||
#add_subdirectory(usbhub) Compiles, just skipped in trunk
|
||||
#add_subdirectory(usbstor) Compiles, just skipped in trunk
|
||||
|
|
|
@ -8,3 +8,4 @@ add_library(usbd SHARED
|
|||
|
||||
set_module_type(usbd kernelmodedriver)
|
||||
add_importlibs(usbd ntoskrnl hal)
|
||||
add_importlib_target(usbd.spec usbd.sys)
|
||||
|
|
21
drivers/usb/usbehci/CMakeLists.txt
Normal file
21
drivers/usb/usbehci/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
usbehci.c
|
||||
hardware.c
|
||||
physmem.c
|
||||
hwiface.c
|
||||
transfer.c
|
||||
fdo.c
|
||||
pdo.c
|
||||
common.c
|
||||
misc.c
|
||||
irp.c
|
||||
usbiffn.c
|
||||
usbehci.rc)
|
||||
|
||||
add_library(usbehci SHARED ${SOURCE})
|
||||
|
||||
set_module_type(usbehci kernelmodedriver)
|
||||
add_importlibs(usbehci ntoskrnl hal)
|
||||
|
||||
add_cab_target(usbehci 2)
|
15
drivers/usb/usbhub/CMakeLists.txt
Normal file
15
drivers/usb/usbhub/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
createclose.c
|
||||
fdo.c
|
||||
misc.c
|
||||
pdo.c
|
||||
usbhub.c
|
||||
usbhub.rc)
|
||||
|
||||
add_library(usbhub SHARED ${SOURCE})
|
||||
|
||||
set_module_type(usbhub kernelmodedriver)
|
||||
add_importlibs(usbhub ntoskrnl hal usbd)
|
||||
|
||||
add_cab_target(usbhub 2)
|
10
drivers/usb/usbstor/CMakeLists.txt
Normal file
10
drivers/usb/usbstor/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
add_definitions(-DDEBUG_MODE)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
||||
|
||||
add_library(usbstor SHARED usbstor.c usbstor.rc)
|
||||
|
||||
set_module_type(usbstor kernelmodedriver)
|
||||
add_importlibs(usbstor ntoskrnl hal)
|
||||
add_cab_target(usbstor 2)
|
Loading…
Add table
Add a link
Reference in a new issue