reactos/drivers/input/i8042prt/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
547 B
CMake

include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/dmilib)
list(APPEND SOURCE
createclose.c
hwhacks.c
i8042prt.c
keyboard.c
misc.c
mouse.c
pnp.c
ps2pp.c
readwrite.c
registry.c
i8042prt.h)
add_library(i8042prt MODULE
${SOURCE}
guid.c
i8042prt.rc)
set_module_type(i8042prt kernelmodedriver)
target_link_libraries(i8042prt dmilib)
add_importlibs(i8042prt ntoskrnl hal)
add_pch(i8042prt i8042prt.h SOURCE)
add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)