reactos/dll/cpl/powercfg/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

29 lines
545 B
CMake

set_unicode()
spec2def(powercfg ${CMAKE_CURRENT_SOURCE_DIR}/powercfg.spec ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
add_library(powercfg SHARED
powercfg.c
powershemes.c
alarms.c
advanced.c
hibernate.c
powercfg.rc)
set_module_type(powercfg cpl)
target_link_libraries(powercfg ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
add_importlibs(powercfg
msvcrt
user32
powrprof
comctl32
shell32
advapi32
kernel32)
add_dependencies(powercfg powercfg_def)
add_livecd_target(powercfg reactos/system32)