2 spec2def(powercfg.cpl powercfg.spec)
12 file(GLOB powercfg_rc_deps resources/*.*)
13 add_rc_deps(powercfg.rc ${powercfg_rc_deps})
15 add_library(powercfg SHARED
18 ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
20 set_module_type(powercfg cpl UNICODE)
21 add_importlibs(powercfg user32 powrprof comctl32 shell32 advapi32 msvcrt kernel32 ntdll shlwapi)
22 add_pch(powercfg powercfg.h SOURCE)
23 add_cd_file(TARGET powercfg DESTINATION reactos/system32 FOR all)