[CMAKE]
[reactos.git] / drivers / usb / nt4compat / usbdriver / CMakeLists.txt
1
2 add_definitions(
3 -DINCLUDE_EHCI
4 -D_MULTI_UHCI
5 -D_MULTI_EHCI
6 -D_X86)
7
8 list(APPEND SOURCE
9 ehci.c
10 ohci.c
11 uhci.c
12 roothub.c
13 hub.c
14 td.c
15 usb.c
16 umss.c
17 bulkonly.c
18 cbi.c
19 devmgr.c
20 dmgrdisp.c
21 compdrv.c
22 etd.c
23 gendrv.c
24 mouse.c
25 keyboard.c
26 usbdriver.rc)
27
28 add_library(usbdriver SHARED ${CMAKE_CURRENT_BINARY_DIR}/usbdriver_usbdriver.h.gch ${SOURCE})
29
30 set_module_type(usbdriver kernelmodedriver)
31 add_importlibs(usbdriver ntoskrnl hal)
32
33 add_pch(usbdriver ${CMAKE_CURRENT_SOURCE_DIR}/usbdriver.h ${SOURCE})
34
35 add_cd_file(TARGET usbdriver DESTINATION reactos/system32/drivers)