Sync with trunk revision 63128.
[reactos.git] / drivers / hid / hidclass / CMakeLists.txt
1
2 spec2def(hidclass.sys hidclass.spec ADD_IMPORTLIB)
3
4 list(APPEND SOURCE
5 fdo.c
6 hidclass.c
7 pdo.c
8 precomp.h)
9
10 add_library(hidclass SHARED
11 ${SOURCE}
12 guid.c
13 hidclass.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
15
16 set_entrypoint(hidclass 0)
17 set_subsystem(hidclass native)
18 set_target_properties(hidclass PROPERTIES SUFFIX ".sys")
19
20
21 add_importlibs(hidclass ntoskrnl hidparse hal)
22 add_dependencies(hidclass bugcodes)
23 add_pch(hidclass precomp.h SOURCE)
24 add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)