mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
23373acbb9
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
404 B
CMake
17 lines
404 B
CMake
|
|
list(APPEND SOURCE
|
|
misc.c
|
|
mouclass.c
|
|
mouclass.h)
|
|
|
|
add_library(mouclass MODULE
|
|
${SOURCE}
|
|
guid.c
|
|
mouclass.rc)
|
|
|
|
set_module_type(mouclass kernelmodedriver)
|
|
target_link_libraries(mouclass ${PSEH_LIB})
|
|
add_importlibs(mouclass ntoskrnl hal)
|
|
add_pch(mouclass mouclass.h SOURCE)
|
|
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
|
|
add_registry_inf(mouclass_reg.inf)
|