mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +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
349 B
CMake
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)
|