xref: /reactos/dll/win32/hid/CMakeLists.txt (revision ac43fd2b)
1
2spec2def(hid.dll hid.spec ADD_IMPORTLIB)
3
4list(APPEND SOURCE
5    hid.c
6    precomp.h)
7
8include_directories(
9    ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/hidparser)
10
11add_library(hid MODULE
12    ${SOURCE}
13    hid.rc
14    ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
15
16set_module_type(hid win32dll UNICODE)
17add_importlibs(hid msvcrt kernel32 ntdll)
18target_link_libraries(hid hidparser_um)
19add_pch(hid precomp.h SOURCE)
20add_cd_file(TARGET hid DESTINATION reactos/system32 FOR all)
21