[CMAKE]
[reactos.git] / reactos / 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 hidclass.rc
8 pdo.c
9 ${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
10
11 add_library(hidclass SHARED ${SOURCE})
12
13 set_entrypoint(hidclass 0)
14 set_subsystem(hidclass native)
15 set_target_properties(hidclass PROPERTIES SUFFIX ".sys")
16
17
18 add_importlibs(hidclass ntoskrnl hidparse hal)
19
20
21 add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)