mirror of
https://github.com/reactos/reactos.git
synced 2024-09-07 03:11:07 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
32 lines
594 B
CMake
32 lines
594 B
CMake
|
|
list(APPEND SOURCE
|
|
cleanup.c
|
|
close.c
|
|
create.c
|
|
datasup.c
|
|
fileinfo.c
|
|
fileobsup.c
|
|
flushbuf.c
|
|
fsctrl.c
|
|
main.c
|
|
prefxsup.c
|
|
read.c
|
|
readsup.c
|
|
secursup.c
|
|
seinfo.c
|
|
statesup.c
|
|
strucsup.c
|
|
volinfo.c
|
|
waitsup.c
|
|
write.c
|
|
writesup.c
|
|
npfs.h)
|
|
|
|
add_library(npfs MODULE ${SOURCE} npfs.rc)
|
|
set_module_type(npfs kernelmodedriver)
|
|
target_link_libraries(npfs ${PSEH_LIB})
|
|
add_importlibs(npfs ntoskrnl hal)
|
|
add_pch(npfs npfs.h SOURCE)
|
|
add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers FOR all)
|
|
add_registry_inf(npfs_reg.inf)
|