reactos/drivers/bus/acpi/cmbatt/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
348 B
CMake

list(APPEND SOURCE
cmbatt.c
cmexec.c
cmbpnp.c
cmbwmi.c
cmbatt.h)
add_library(cmbatt MODULE
${SOURCE}
guid.c
cmbatt.rc)
set_module_type(cmbatt kernelmodedriver)
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
add_pch(cmbatt cmbatt.h SOURCE)
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)