mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +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.
18 lines
434 B
CMake
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)
|