[CMAKE] Use modules instead of shared libraries
[reactos.git] / drivers / filesystems / npfs / CMakeLists.txt
1
2 list(APPEND SOURCE
3 cleanup.c
4 close.c
5 create.c
6 datasup.c
7 fileinfo.c
8 fileobsup.c
9 flushbuf.c
10 fsctrl.c
11 main.c
12 prefxsup.c
13 read.c
14 readsup.c
15 secursup.c
16 seinfo.c
17 statesup.c
18 strucsup.c
19 volinfo.c
20 waitsup.c
21 write.c
22 writesup.c
23 npfs.h)
24
25 add_library(npfs MODULE ${SOURCE} npfs.rc)
26 set_module_type(npfs kernelmodedriver)
27 target_link_libraries(npfs ${PSEH_LIB})
28 add_importlibs(npfs ntoskrnl hal)
29 add_pch(npfs npfs.h SOURCE)
30 add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers FOR all)
31 add_registry_inf(npfs_reg.inf)