reactos/sdk/lib/drivers/hidparser/CMakeLists.txt
Hervé Poussineau 7033ab18df [HID] Use hidparser static library for HidP_* functions
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.
2019-05-02 20:06:47 +02:00

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)