1 2spec2def(batt.dll batt.spec) 3 4add_library(batt MODULE 5 batt.c 6 batt.rc 7 ${CMAKE_CURRENT_BINARY_DIR}/batt.def) 8 9set_module_type(batt win32dll UNICODE) 10add_importlibs(batt setupapi msvcrt kernel32 ntdll) 11add_cd_file(TARGET batt DESTINATION reactos/system32 FOR all) 12