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