mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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
348 B
CMake
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)
|