[CMAKE]
[reactos.git] / dll / cpl / powercfg / CMakeLists.txt
1
2 set_unicode()
3 set_rc_compiler()
4
5 spec2def(powercfg.cpl powercfg.spec)
6
7 add_library(powercfg SHARED
8 powercfg.c
9 powershemes.c
10 alarms.c
11 advanced.c
12 hibernate.c
13 powercfg.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
15
16 set_module_type(powercfg cpl)
17
18 add_importlibs(powercfg
19 msvcrt
20 user32
21 powrprof
22 comctl32
23 shell32
24 advapi32
25 kernel32
26 ntdll)
27
28 add_cd_file(TARGET powercfg DESTINATION reactos/system32)