reactos/drivers/filesystems/ntfs/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

28 lines
509 B
CMake

list(APPEND SOURCE
attrib.c
blockdev.c
btree.c
cleanup.c
close.c
create.c
devctl.c
dirctl.c
dispatch.c
fastio.c
fcb.c
finfo.c
fsctl.c
mft.c
misc.c
ntfs.c
rw.c
volinfo.c
ntfs.h)
add_library(ntfs MODULE ${SOURCE} ntfs.rc)
set_module_type(ntfs kernelmodedriver)
target_link_libraries(ntfs ${PSEH_LIB})
add_importlibs(ntfs ntoskrnl hal)
add_pch(ntfs ntfs.h SOURCE)
add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers FOR all)