reactos/drivers/filters/mountmgr/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

18 lines
434 B
CMake

list(APPEND SOURCE
database.c
device.c
mountmgr.c
notify.c
point.c
symlink.c
uniqueid.c
mntmgr.h)
add_library(mountmgr MODULE ${SOURCE} mountmgr.rc)
target_link_libraries(mountmgr wdmguid ioevent memcmp)
set_module_type(mountmgr kernelmodedriver)
add_importlibs(mountmgr ntoskrnl hal)
add_pch(mountmgr mntmgr.h SOURCE)
add_cd_file(TARGET mountmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)