[CMAKE]
[reactos.git] / dll / win32 / powrprof / CMakeLists.txt
1
2 spec2def(powrprof.dll powrprof.spec)
3
4 set_unicode()
5
6 add_library(powrprof SHARED
7 powrprof.c
8 powrprof.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/powrprof.def)
10
11 set_module_type(powrprof win32dll)
12
13 target_link_libraries(powrprof wine)
14
15 add_importlibs(powrprof advapi32 user32 comctl32 msvcrt kernel32 ntdll)
16 add_importlib_target(powrprof.spec)
17 add_cd_file(TARGET powrprof DESTINATION reactos/system32)