[CMAKE] Use modules instead of shared libraries
[reactos.git] / dll / win32 / hid / CMakeLists.txt
1
2 spec2def(hid.dll hid.spec ADD_IMPORTLIB)
3
4 list(APPEND SOURCE
5 hid.c
6 stubs.c
7 precomp.h)
8
9 add_library(hid MODULE
10 ${SOURCE}
11 hid.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
13
14 set_module_type(hid win32dll UNICODE)
15 add_importlibs(hid msvcrt kernel32 ntdll)
16 add_pch(hid precomp.h SOURCE)
17 add_cd_file(TARGET hid DESTINATION reactos/system32 FOR all)