mirror of
https://github.com/reactos/reactos.git
synced 2024-08-18 17:37:02 +00:00
![Hervé Poussineau](/assets/img/avatar_default.png)
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.
21 lines
464 B
CMake
21 lines
464 B
CMake
|
|
spec2def(hid.dll hid.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
hid.c
|
|
precomp.h)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/hidparser)
|
|
|
|
add_library(hid MODULE
|
|
${SOURCE}
|
|
hid.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/hid.def)
|
|
|
|
set_module_type(hid win32dll UNICODE)
|
|
add_importlibs(hid msvcrt kernel32 ntdll)
|
|
target_link_libraries(hid hidparser_um)
|
|
add_pch(hid precomp.h SOURCE)
|
|
add_cd_file(TARGET hid DESTINATION reactos/system32 FOR all)
|