1
2add_definitions(-D_BATTERYCLASS_)
3spec2def(battc.sys battc.spec ADD_IMPORTLIB)
4
5add_library(battc MODULE
6            battc.c
7            battc.rc
8            ${CMAKE_CURRENT_BINARY_DIR}/battc.def)
9
10set_module_type(battc kernelmodedriver)
11add_importlibs(battc ntoskrnl hal)
12add_cd_file(TARGET battc DESTINATION reactos/system32/drivers FOR all)
13