mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 19:03:01 +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.
17 lines
383 B
CMake
17 lines
383 B
CMake
|
|
list(APPEND SOURCE
|
|
createclose.c
|
|
detect.c
|
|
fdo.c
|
|
internaldevctl.c
|
|
misc.c
|
|
readmouse.c
|
|
sermouse.c
|
|
sermouse.h)
|
|
|
|
add_library(sermouse MODULE ${SOURCE} sermouse.rc)
|
|
set_module_type(sermouse kernelmodedriver)
|
|
add_pch(sermouse sermouse.h SOURCE)
|
|
add_importlibs(sermouse ntoskrnl hal)
|
|
add_cd_file(TARGET sermouse DESTINATION reactos/system32/drivers FOR all)
|