reactos/dll/win32/hid/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

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)