reactos/drivers/bus/acpi/compbatt/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

17 lines
349 B
CMake

list(APPEND SOURCE
compbatt.c
compmisc.c
comppnp.c
compbatt.h)
add_library(compbatt MODULE
${SOURCE}
guid.c
compbatt.rc)
set_module_type(compbatt kernelmodedriver)
add_importlibs(compbatt ntoskrnl hal battc)
add_pch(compbatt compbatt.h SOURCE)
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)