mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
7033ab18df
hid.dll and hidparse.sys must understand the same HID preparsed data, so use the same code in hid.dll and in hidparse.sys At the same time, this permis implementation of some HidP_* functions.
22 lines
459 B
CMake
22 lines
459 B
CMake
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
|
|
list(APPEND SOURCE
|
|
context.c
|
|
hidparser.c
|
|
parser.c
|
|
api.c
|
|
parser.h
|
|
hidp.c
|
|
hidp.h)
|
|
|
|
add_library(hidparser_um ${SOURCE})
|
|
add_importlibs(hidparser_um ntdll)
|
|
add_dependencies(hidparser_um bugcodes xdk)
|
|
add_pch(hidparser_um parser.h SOURCE)
|
|
|
|
add_library(hidparser_km ${SOURCE})
|
|
add_importlibs(hidparser_km ntoskrnl)
|
|
add_dependencies(hidparser_km bugcodes xdk)
|
|
add_pch(hidparser_km parser.h SOURCE)
|